Skip to content

Commit

Permalink
Made changes to where_clause_suffix to read PostgreSQL column metadata (
Browse files Browse the repository at this point in the history
#183)

* Made changes to where_clause_suffix

* Updated back to table_schema instead of table_name

* Added new line at end of file

* Removed blank space in new line
  • Loading branch information
iedr authored and feng-tao committed Jan 24, 2020
1 parent a802501 commit 84eeb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/dags/postgres_sample_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def connection_string():
def create_table_extract_job(**kwargs):
where_clause_suffix = textwrap.dedent("""
where table_schema in {schemas}
""")
""").format(schemas=SUPPORTED_SCHEMA_SQL_IN_CLAUSE)

tmp_folder = '/var/tmp/amundsen/table_metadata'
node_files_folder = '{tmp_folder}/nodes/'.format(tmp_folder=tmp_folder)
Expand Down

0 comments on commit 84eeb29

Please sign in to comment.