Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
fix: Fix sql for missing columns and mysql based dialects (#550) (amu…
Browse files Browse the repository at this point in the history
…ndsen-io#305)

This solves amundsen-io/amundsen#550

Signed-off-by: Carter Landis <carter.landis@gusto.com>
  • Loading branch information
pPanda-beta authored and ccarterlandis committed Aug 14, 2020
1 parent 4adde97 commit c04478a
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 c04478a

Please sign in to comment.