Skip to content

Commit

Permalink
fix: Fix sql for missing columns and mysql based dialects (#550) (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPanda-beta authored Jul 20, 2020
1 parent 24b3b0a commit 4b7b147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/dags/hive_sample_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def connection_string():
def create_table_wm_job(**kwargs):
sql = textwrap.dedent("""
SELECT From_unixtime(A0.create_time) as create_time,
C0.NAME as schema,
'hive' as `database`,
C0.NAME as `schema`,
B0.tbl_name as table_name,
{func}(A0.part_name) as part_name,
{watermark} as part_type
Expand Down

0 comments on commit 4b7b147

Please sign in to comment.