Skip to content

fix: avoid views when querying BigLake tables from SQL cells#16562

Open
tswast wants to merge 2 commits intomainfrom
b493608478-biglake-pyformat
Open

fix: avoid views when querying BigLake tables from SQL cells#16562
tswast wants to merge 2 commits intomainfrom
b493608478-biglake-pyformat

Conversation

@tswast
Copy link
Copy Markdown
Contributor

@tswast tswast commented Apr 6, 2026

Workaround for internal bug 493608478.

Migrates googleapis/python-bigquery-dataframes#2545
🦕

@tswast tswast requested review from a team as code owners April 6, 2026 15:35
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for 4-part BigLake/Iceberg table identifiers by ensuring all parts of the table ID are correctly split and quoted during SQL generation. It also implements a workaround in pyformat.py for BigLake tables, which currently cannot be used in views, by generating a subquery instead of a placeholder table reference. Feedback was provided regarding an inconsistency in index handling for these subqueries compared to other table types.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@tswast tswast requested review from a team and mpovoa and removed request for a team April 6, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant