-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(bigquery): expose identifiers using a variety of formats #5017
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
Conversation
This PR adds an Identifier() method to common BQ resources so that users can get an identifier that is formatted appropriately for their use case (legacy sql, standard sql, referencing in storage API, etc). Existing instances of FullyQualifiedName() have been migrated to the new method. Fixes: googleapis#1955
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.
Useful! Curious that there's different quoting rules for BQML vs Tables.
Tables have special case behavior for quoting that obviates need for quoting, and BQML seems to want to quote the entire identifier, not the individual parts. Cited in the comments. Annnnnd you weren't asking a question, misread this. |
This PR adds an Identifier() method to common BQ resources so
that users can get an identifier that is formatted appropriately
for their use case (legacy sql, standard sql, referencing in storage
API, etc).
Existing instances of FullyQualifiedName() have been migrated to the
new method.
Fixes: #1955