[Feature] Implement batch metadata freshness using INFORMATION_SCHEMA.TABLE_STORAGE
instead of client.get_table
#1239
Labels
INFORMATION_SCHEMA.TABLE_STORAGE
instead of client.get_table
#1239
Is this your first time submitting a feature request?
Describe the feature
Move from running a query per table to performing a batch operation.
Running a single query against
INFORMATION_SCHEMA.TABLE_STORAGE
appears to be the most efficient way to calculate freshness for all sources in a project that do not define a customloaded_at_field
. Evaluate if there is a python client API or if we need to run the query ourselves.Copying from #938 (comment):
And from #938 (comment):
Describe alternatives you've considered
Existing implementation: non-batch, leveraging BigQuery API. This is likely preferable in cases where a project contains only a few sources.
Who will this benefit?
BigQuery users with lots of sources, who want to calculate freshness for them all at once
Are you interested in contributing this feature?
No response
Anything else?
Spike:
The text was updated successfully, but these errors were encountered: