Skip to content

Conversation

@kandharvishnu
Copy link
Contributor

@kandharvishnu kandharvishnu commented Apr 10, 2025


This PR fixes an issue where the "Use Legacy SQL" checkbox in the Google BigQuery connection UI is automatically selected upon editing the connection—even when it was explicitly set to False earlier.

Impact

This unintended toggle leads to query execution failures when the DAGs are expecting standard SQL. Example error:

"Try using standard SQL instead of legacy SQL."

Fix

The PR ensures the "Use Legacy SQL" checkbox properly reflects the actual saved value, preventing silent overrides.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Apr 10, 2025
@kandharvishnu kandharvishnu changed the title Removing BigQuery Connection LegacySQL default True value Fix: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit Apr 10, 2025
@potiuk
Copy link
Member

potiuk commented Apr 10, 2025

Sounds good I guess it's time to change it @VladaZakharova ?

@VladaZakharova
Copy link
Contributor

yes, thank you, looks good :)

@rawwar
Copy link
Contributor

rawwar commented Apr 11, 2025

Pulled changes from main as the constraints issue is fixed on Main

@rawwar rawwar merged commit c932dab into apache:main Apr 11, 2025
65 checks passed
@potiuk potiuk linked an issue Jul 20, 2025 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit

4 participants