[英]Is it possible to cluster by Ingestion Time a BQ table partitioned by Ingestion Time?
We currently use a BQ table partitioned by day on a column date1
and clustered by the same date column date1
.我们目前使用 BQ 表,该表在列
date1
date1
。 This enables us to optimize our costs.这使我们能够优化成本。 However, we would like to use the tables partitioned by ingestion time instead but I haven't found if it was possible to also cluster by _PARTITIONTIME.
但是,我们想改用按摄取时间分区的表,但我还没有发现是否也可以按 _PARTITIONTIME 进行聚类。
Does anyone know if we can do such thing in BigQuery?有谁知道我们是否可以在 BigQuery 中做这样的事情?
Thanks for your help谢谢你的帮助
From a recent release, BigQuery clustering is independent of the partitioning .从最近的版本开始,BigQuery 集群独立于分区。 Therefore, there is no limitation with (or without) ingestion time partitioning.
因此,没有(或没有)摄取时间分区的限制。 I did a test and it worked great
我做了一个测试,效果很好
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.