在 Apache Druid 配置中,您可以选择分段的粒度(小时/天/周/等)。如果稍后更改粒度会发生什么?新设置是否仅应用于新数据而旧段将保持原样,还是也会重新生成旧段?例如,如果我们决定将粒度从天更改为周..
最佳答案
What will happen if you change the granuality later? Will the new settings be applied just to the new data and old segments will be left as it is
分割为immutable ,因此更改粒度仅适用于新数据。
[Will] old segments will be left as it is, or it will regenerated old segments too? for example, if we decide to change from day granuality to week
旧分段将保留其摄取时的粒度,而新分段将以更新的粒度提交并发布到深度存储。
换句话说,在您的示例中,旧分段将保留其日粒度,而新分段将以周粒度提交和发布。
关于druid - Apache Druid 段粒度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74015437/