dataform icon indicating copy to clipboard operation
dataform copied to clipboard

BigQuery Sharded Tables

Open Sgiostra-BitBang opened this issue 2 years ago • 2 comments

There is a feature in Dataform that allow to use Sharded Tables as source?

Sgiostra-BitBang avatar Feb 08 '23 14:02 Sgiostra-BitBang

Great question. But why not partitioning instead sharding? I think sharding is not the best practice in BigQuery nowadays, IMO.

I have worked with sharded tables with Analytics 360. but i think that it's outdated now.

With partitioning, you can have up to 4000 partitions, whereas when you query date sharded tables, you can only query up to 1000 tables at once.

Best regards.

bigrogerio avatar Mar 24 '23 02:03 bigrogerio

Yes you can do this: https://github.com/dataform-co/dataform/discussions/1496

astorrs avatar Jun 12 '23 00:06 astorrs