Uh oh!
There was an error while loading. Please reload this page.
Deprecate implicit legacy SQL default in BigQuery operators - #67113
Conversation
potiuk
commented
May 24, 2026
@VladaZakharova A few things need addressing before review — see our Pull Request quality criteria.
No rush. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. Drafted-by: Claude Code (Opus 4.7); reviewed by @potiuk before posting |
3c7cf25 to
6115dbcCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
f75e23c to
6128ce2CompareUh oh!
There was an error while loading. Please reload this page.
6128ce2 to
5060e67Compare5060e67 to
b183105CompareUh oh!
There was an error while loading. Please reload this page.
Deprecates the implicit use_legacy_sql=True default in older BigQuery operators.
BigQuery now recommends GoogleSQL, and legacy SQL availability is restricted after June 1, 2026 depending on prior usage. This change keeps the current runtime behavior for compatibility, but emits an AirflowProviderDeprecationWarning when use_legacy_sql is omitted and Airflow falls back to the old legacy SQL default.
Documentation: https://docs.cloud.google.com/bigquery/docs/legacy-sql-feature-availability#:~:text=BigQuery%20monitors%20the%20use%20of,after%20the%20evaluation%20period%20ends.
Users can avoid the warning by choosing explicitly:
use_legacy_sql=False to use GoogleSQL.
use_legacy_sql=True if they intentionally still need legacy SQL.
The warning applies only to the implicit default. Explicit legacy SQL usage remains supported.
This also updates BigQuery operator and connection docs with guidance about GoogleSQL and legacy SQL availability.
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.Important
🛠️ Maintainer triage note for @VladaZakharova · by
@potiuk· 2026-06-17 18:53 UTCSome review feedback from
shahar1is waiting on you:The ball is in your court — you've been assigned to this PR. Reply or push a fix in each thread, then mark them resolved.
Automated triage — may be imperfect; a maintainer takes the next look.