-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ingest/bigquery): All View generation when queries_v2 is turned off #12181
base: master
Are you sure you want to change the base?
fix(ingest/bigquery): All View generation when queries_v2 is turned off #12181
Conversation
90238b3
to
804003b
Compare
804003b
to
cfe996d
Compare
0699bd9
to
9ad1574
Compare
metadata-ingestion/src/datahub/ingestion/source/bigquery_v2/bigquery_schema_gen.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/tests/integration/bigquery_v2/test_bigquery.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Mayuri Nehate <[email protected]>
abbb8ae
to
d700bc3
Compare
self.view_definitions[table_ref] = view.view_definition | ||
table_ref = str(BigQueryTableRef(table_identifier).get_sanitized_table_ref()) | ||
self.table_refs.add(table_ref) | ||
if self.config.lineage_parse_view_ddl and view.view_definition: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also remove lineage_parse_view_ddl
from config
(True, True, False, "bigquery_mcp_lineage_golden_2.json"), | ||
(False, False, True, "bigquery_mcp_lineage_golden_3.json"), | ||
(False, True, True, "bigquery_mcp_lineage_golden_4.json"), | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use same file if bigquery_mcp_lineage_golden_1.json
and bigquery_mcp_lineage_golden_2.json
are exactly same ?
Also if bigquery_mcp_lineage_golden_3
and bigquery_mcp_lineage_golden_4.json
are exactly same, which I'm guessing they will be.
Checklist