Skip to content

perf: query tables with limit 0 when retrieving schema for tables wit…#3935

Merged
izeigerman merged 2 commits intoSQLMesh:mainfrom
1K5-TECH:perf/bq-external-models-schema
Mar 5, 2025
Merged

perf: query tables with limit 0 when retrieving schema for tables wit…#3935
izeigerman merged 2 commits intoSQLMesh:mainfrom
1K5-TECH:perf/bq-external-models-schema

Conversation

@lenare1K5
Copy link
Contributor

@lenare1K5 lenare1K5 commented Mar 4, 2025

…h >3 identifiers

@CLAassistant
Copy link

CLAassistant commented Mar 4, 2025

CLA assistant check
All committers have signed the CLA.

@tobymao
Copy link
Contributor

tobymao commented Mar 4, 2025

@lenare1K5 can you please sign the cla?

@lenare1K5
Copy link
Contributor Author

@tobymao I signed the cla 👍

Should I also write some tests for my change?

@georgesittas
Copy link
Contributor

Should I also write some tests for my change?

There's already a test for this here: https://github.com/TobikoData/sqlmesh/blob/5ec13d29946b3903ae49de8bef650c0b37bac316/tests/core/engine_adapter/integration/test_integration_bigquery.py#L187

As long as you've verified that the LIMIT 0 approach works, I expect that this will pass.

@izeigerman izeigerman merged commit 9c28bb1 into SQLMesh:main Mar 5, 2025
19 checks passed
@lenare1K5 lenare1K5 deleted the perf/bq-external-models-schema branch March 6, 2025 06:44
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.

5 participants