Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
airflow-dags-hub
Project
Project
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
唐香港
airflow-dags-hub
Commits
5f3686ae
Commit
5f3686ae
authored
Jun 29, 2020
by
吴升宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
0c3b2f22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
create_table_per_day.py
dags/psql/create_table_per_day.py
+3
-6
No files found.
dags/psql/create_table_per_day.py
View file @
5f3686ae
...
@@ -58,24 +58,21 @@ t1 = PostgresOperator(
...
@@ -58,24 +58,21 @@ t1 = PostgresOperator(
postgres_conn_id
=
'postgres-test'
,
postgres_conn_id
=
'postgres-test'
,
sql
=
sql1
,
sql
=
sql1
,
dag
=
dag
,
dag
=
dag
,
database
=
'ruler'
,
database
=
'ruler'
)
pool
=
'pricing_pool'
)
t2
=
PostgresOperator
(
t2
=
PostgresOperator
(
task_id
=
'psql_auto_create_table_per_day_task_02'
,
task_id
=
'psql_auto_create_table_per_day_task_02'
,
postgres_conn_id
=
'postgres-test'
,
postgres_conn_id
=
'postgres-test'
,
sql
=
sql2
,
sql
=
sql2
,
dag
=
dag
,
dag
=
dag
,
database
=
'ruler'
,
database
=
'ruler'
)
pool
=
'pricing_pool'
)
t3
=
PostgresOperator
(
t3
=
PostgresOperator
(
task_id
=
'psql_auto_create_table_per_day_task_03'
,
task_id
=
'psql_auto_create_table_per_day_task_03'
,
postgres_conn_id
=
'postgres-test'
,
postgres_conn_id
=
'postgres-test'
,
sql
=
sql3
,
sql
=
sql3
,
dag
=
dag
,
dag
=
dag
,
database
=
'ruler'
,
database
=
'ruler'
)
pool
=
'pricing_pool'
)
t3
>>
t2
t3
>>
t2
t2
>>
t1
t2
>>
t1
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