Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Amazon-Selection-Data
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abel_cjy
Amazon-Selection-Data
Commits
ff1ff0b8
Commit
ff1ff0b8
authored
Jan 26, 2026
by
fangxingjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
cbe0b230
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ods_st_quantity_being_sold.py
Pyspark_job/sqoop_import/ods_st_quantity_being_sold.py
+5
-3
No files found.
Pyspark_job/sqoop_import/ods_st_quantity_being_sold.py
View file @
ff1ff0b8
...
...
@@ -23,12 +23,14 @@ if __name__ == '__main__':
id,
search_term,
quantity_being_sold,
date_info
as date_flag,
null
as date_flag,
created_time,
updated_time,
quantity_being_sold_str,
result_count,
departments
-- result_count,
REPLACE(REPLACE(REPLACE(result_count, E'
\n
',' '), E'
\r
',' '), E'
\t
',' ') AS result_count,
REPLACE(REPLACE(REPLACE(departments, E'
\n
',' '), E'
\r
',' '), E'
\t
',' ') AS departments
-- departments
from {import_table}
where 1=1
and
\
$CONDITIONS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment