-
Notifications
You must be signed in to change notification settings - Fork 68
feat: add bigframes.pandas.options.experiments.sql_compiler for switching the backend compiler
#2417
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
ea9d307 to
b02a1f7
Compare
| compiler = ( | ||
| sqlglot_compiler | ||
| if options.experiments.sql_compiler == "experimental" | ||
| else ibis_compiler | ||
| ) |
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 maybe use a helper function to dispatch the right compiler, just to make it easier to be consistent between all the places that use the compiler?
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.
Good points. Addressed.
… between compilers
5b9d679 to
6c0bbab
Compare
6c0bbab to
7cba48a
Compare
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e7cc6823efb073a8a26e7cefdd869f12ec228abfbd2a44aa9a7eacc284023677 <details><summary>bigframes: 2.34.0</summary> ## [2.34.0](v2.33.0...v2.34.0) (2026-02-02) ### Features * add `bigframes.pandas.options.experiments.sql_compiler` for switching the backend compiler (#2417) ([7eba6ee](7eba6ee)) * add bigquery.ml.generate_embedding function (#2422) ([35f3f5e](35f3f5e)) * add bigquery.create_external_table method (#2415) ([76db295](76db295)) * add deprecation warnings for .blob accessor and read_gbq_object_table (#2408) ([7261a4e](7261a4e)) * add bigquery.ml.generate_text function (#2403) ([5ac6810](5ac6810)) ### Bug Fixes * broken job url (#2411) ([fcb5bc1](fcb5bc1))
…tching the backend compiler (#2417) This change adds `bigframes.pandas.options.experiments.sql_compiler` to allow switching the backend compiler. Currently, the default remains set to 'legacy' (ibis), but users can now optionally switch to the 'experimental' (sqlglot) compiler. Fixes internal issue 479912001🦕
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e7cc6823efb073a8a26e7cefdd869f12ec228abfbd2a44aa9a7eacc284023677 <details><summary>bigframes: 2.34.0</summary> ## [2.34.0](v2.33.0...v2.34.0) (2026-02-02) ### Features * add `bigframes.pandas.options.experiments.sql_compiler` for switching the backend compiler (#2417) ([7eba6ee](7eba6ee)) * add bigquery.ml.generate_embedding function (#2422) ([35f3f5e](35f3f5e)) * add bigquery.create_external_table method (#2415) ([76db295](76db295)) * add deprecation warnings for .blob accessor and read_gbq_object_table (#2408) ([7261a4e](7261a4e)) * add bigquery.ml.generate_text function (#2403) ([5ac6810](5ac6810)) ### Bug Fixes * broken job url (#2411) ([fcb5bc1](fcb5bc1))
This change adds
bigframes.pandas.options.experiments.sql_compilerto allow switching the backend compiler. Currently, the default remains set to 'legacy' (ibis), but users can now optionally switch to the 'experimental' (sqlglot) compiler.Fixes internal issue 479912001🦕