JK Biraj
05/16/2024, 9:07 AMDAY and there are 61 segments created by Druid in a Day with around 1000 rows are there in the data source, Since I'm trying to query the data via Scan Druid native query but getting this below error, Please help me to get things working.
"{"error":"Resource limit exceeded","errorClass":"org.apache.druid.query.ResourceLimitExceededException","host":"localhost:8083","errorCode":"legacyQueryException","persona":"OPERATOR","category":"INVALID_INPUT","errorMessage":"Time ordering is not supported for a Scan query with 61 segments per time chunk and a row limit of 9,223,372,036,854,775,807. Try reducing your query limit below maxRowsQueuedForOrdering (currently 100,000), or using compaction to reduce the number of segments per time chunk, or raising maxSegmentPartitionsOrderedInMemory (currently 50) above the number of segments you have per time chunk.","context":{"host":"localhost:8083","errorClass":"org.apache.druid.query.ResourceLimitExceededException","legacyErrorCode":"Resource limit exceeded"}}"John Kowtko
05/16/2024, 10:01 AMJK Biraj
05/16/2024, 11:05 AMJohn Kowtko
05/16/2024, 2:11 PMGian Merlino
05/16/2024, 4:55 PMorder by __time with no limit? if you know that there will be only around 1000 rows, you can add limit 10000 (anything less than 100000 is fine) and you won't run into this errorJK Biraj
05/17/2024, 6:35 AMGian Merlino
05/18/2024, 5:43 AM