Hi,
-
I have a datasource A in which I have existing ingested data with 'segment granularity’ as HOUR and 'query granularity’ as HOUR for few weeks**.**
-
Next, when I create an ingestion task with 'segment granularity’ as DAY and 'query granularity’ as HOUR**,** this succeeds as well.
-
Next, when I tried create an new ingestion task with 'segment granularity’ as DAY and 'query granularity’ as DAY. This ingestion task failed with the below error.
org.apache.druid.java.util.common.ISE: Failed to add a row with timestamp[2019-09-08T00:16:23.000Z] at org.apache.druid.indexing.common.task.IndexTask.generateAndPublishSegments(IndexTask.java:1050) ~[druid-indexing-service-0.14.2-incubating.jar:0.14.2-incubating] at org.apache.druid.indexing.common.task.IndexTask.run(IndexTask.java:473) [druid-indexing-service-0.14.2-incubating.jar:0.14.2-incubating] at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:419) [druid-indexing-service-0.14.2-incubating.jar:0.14.2-incubating] at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:391) [druid-indexing-service-0.14.2-incubating.jar:0.14.2-incubating] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
Is this expected behavior? Does Druid NOT allow to change query granularity of data for new data to be ingested, once the data source already has ingested data of different query granularity i.e. is it possible to ingest data of different query granularities in the same data source?
Regards,
Vinay