Skip to content

Conversation

@guechhouth
Copy link

@guechhouth guechhouth commented Oct 29, 2025

SUMMARY

The get_sqla_table() method was only setting schema but not catalog, causing queries to be generated as 'schema.table' instead of 'project.schema.table'. Adding a check for the catalog name.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After
image

TESTING INSTRUCTIONS

  1. Connect to a BigQuery database
  2. Create a dataset with a specific project ID
  3. Navigate to Explore view, create a chart from the dataset, and click "View in SQL Lab"
  4. Observe the generated SQL query
  5. Notice project ID is now present in table reference

ADDITIONAL INFORMATION

  • [X ] Has associated issue: Fixes Issue #3 - [BUG] BigQuery ProjectId missing in generated querie #6
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

michael-s-molina and others added 30 commits February 3, 2025 14:07
…2151)

Signed-off-by: hainenber <dotronghai96@gmail.com>
(cherry picked from commit ea5879b)
… the SQL query (apache#30903)

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
(cherry picked from commit f3e7c64)
…l component (apache#32222)

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
(cherry picked from commit 650fa5c)
Co-authored-by: Fardin Mustaque <fardinmustaque@Fardins-Mac-mini.local>
(cherry picked from commit 52563d3)
…ns (apache#32218)

Co-authored-by: Erkka Tahvanainen <erkka.tahvanainen@confidently.fi>
(cherry picked from commit 9da3095)
msyavuz and others added 30 commits May 23, 2025 09:42
Co-authored-by: Amaan Nawab <nelsondrew07@gmail.com>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
… in caret style (apache#30514) (apache#30577)

Co-authored-by: garriscp <garriscp@gmail.com>
(cherry picked from commit b7d3ff1)
Co-authored-by: richardfn <richard.fogaca@appsilon.com>
(cherry picked from commit 38868f9)
…#33285)

Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit 57183da)
Co-authored-by: Amaan Nawab <nelsondrew07@gmail.com>
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.

Issue #3 - [BUG] BigQuery ProjectId missing in generated querie