Skip to content

chore(bigframes): fix the missed columns when sqlglot compiles SqlDataSource#16567

Merged
chelsea-lin merged 1 commit intomainfrom
main_chelsealin_sqldatasource
Apr 6, 2026
Merged

chore(bigframes): fix the missed columns when sqlglot compiles SqlDataSource#16567
chelsea-lin merged 1 commit intomainfrom
main_chelsealin_sqldatasource

Conversation

@chelsea-lin
Copy link
Copy Markdown
Contributor

No description provided.

@chelsea-lin chelsea-lin requested review from a team as code owners April 6, 2026 21:16
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 updates the SQL compilation logic to support explicit column selection when reading tables, rather than defaulting to a star selection. It introduces an is_star_selection property to identify when all columns are selected and modifies the from_table method to accept a column list. Review feedback identifies inaccuracies in the from_table docstring regarding non-existent parameters and suggests a more concise implementation for constructing the SELECT expression.

@chelsea-lin chelsea-lin force-pushed the main_chelsealin_sqldatasource branch from 1c79704 to 1edd629 Compare April 6, 2026 21:35
@chelsea-lin chelsea-lin merged commit 5ccfd64 into main Apr 6, 2026
31 checks passed
@chelsea-lin chelsea-lin deleted the main_chelsealin_sqldatasource branch April 6, 2026 22:45
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.

2 participants