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
Improve BigQuery metadata retrieval performance #16064
Improve BigQuery metadata retrieval performance #16064
Conversation
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryMetadata.java
Show resolved
Hide resolved
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryMetadata.java
Show resolved
Hide resolved
fd24d17
to
76ccef2
Compare
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryMetadata.java
Outdated
Show resolved
Hide resolved
76ccef2
to
83e3928
Compare
According to
|
/test-with-secrets sha=83e3928824af65433afeb18289424a93c744ba78 |
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryConnectorModule.java
Show resolved
Hide resolved
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryConnectorModule.java
Outdated
Show resolved
Hide resolved
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryMetadata.java
Outdated
Show resolved
Hide resolved
83e3928
to
dae6c32
Compare
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4163879507 |
/test-with-secrets sha=dae6c329aca88b343820ccc0c232409d9f739ce8 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4168207790 |
dae6c32
to
73568d5
Compare
@ebyhr can you run this PR once again with secrets? |
/test-with-secrets sha=73568d5ccbbb4d71a8f8103cf392f92c223f9186 |
Thx @hashhar |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4224902334 |
/test-with-secrets sha=73568d5ccbbb4d71a8f8103cf392f92c223f9186 |
73568d5
to
e8e1030
Compare
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4550136213 |
Failures in databricks pt seems unrelated. |
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.
As follow up we should configure retries for transient failures like rate-limiting.
5e30ac9
to
ea7f7b1
Compare
/test-with-secrets sha=ea7f7b102aadd05dd47f109500145acad3879f61 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/5079722278 |
ea7f7b1
to
1762d63
Compare
/test-with-secrets sha=1762d6395b97bd07eb70695f70ce33048f888079 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/5110550506 |
`SELECT * FROM information_schema.columns WHERE table_catalog = 'bigquery'` goes from 17s to 3s in my testing (for just a minor number of tables) BaseConnectorTest.testSelectInformationSchemaColumns completes under 45s instead of 2m
1762d63
to
4e90dd1
Compare
/test-with-secrets sha=4e90dd125dfc520c80ef6b611d1cda2752e6e53c |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/5121944501 |
can you update docs with retry multiplier if we already document other retry configs. |
@hashhar these are not documented |
SELECT * FROM information_schema.columns WHERE table_catalog = 'bigquery'
goes from 17s to 3s in my testing (for just a minor number of tables)BaseConnectorTest.testSelectInformationSchemaColumns
completes under 45s instead of 2mDescription
Additional context and related issues
Release notes
( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text: