How intervals field in GranularitySpec impact data ingestion?

两盒软妹~` 提交于 2020-01-25 23:45:44

问题


What is the purpose of intervals field in GranularitySpec and importantly, how does it impact the data load or ingestion ?

For e.g. If I have data from 2014-01-01 to 2017-09-30 in a file and I specify intervals value as "intervals" : ["2016-01-01/2017-12-31"]. What would happen during data load in this scenario ?

Would really appreciate any help with this understanding. Thanks.


The document just says as below without much info on its impact:

intervals: A list of intervals for the raw data being ingested.


回答1:


The intervals field acts like a filter. If you have your intervals in the granularitySpec set to 2016-01-01/2017-12-31, then any data outside of that range will not be loaded.



来源:https://stackoverflow.com/questions/46948003/how-intervals-field-in-granularityspec-impact-data-ingestion

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!