Skip to content

Commit

Permalink
fix(ingest/airflow): fix support for bigquery insert job operator (da…
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored and sleeperdeep committed Jun 25, 2024
1 parent 1099f23 commit 92f367d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _parse_sql_into_task_metadata(
task_name = f"{self.operator.dag_id}.{self.operator.task_id}"

run_facets = {}
job_facets = {"sql": SqlJobFacet(query=self._normalize_sql(sql))}
job_facets = {"sql": SqlJobFacet(query=SqlExtractor._normalize_sql(sql))}

# Prepare to run the SQL parser.
graph = self.context.get(_DATAHUB_GRAPH_CONTEXT_KEY, None)
Expand Down

0 comments on commit 92f367d

Please sign in to comment.