Druid 德鲁伊-防止每次摄取CSV时创建新分区
我有吞食规范Druid 德鲁伊-防止每次摄取CSV时创建新分区,druid,Druid,我有吞食规范 "rollup": false, "segmentGranularity" : "day", "queryGranularity" : { "type": "duration", "duration": 60000 } }
"rollup": false,
"segmentGranularity" : "day",
"queryGranularity" : {
"type": "duration",
"duration": 60000
}
}
},
"ioConfig" : {
"type" : "index",
"inputSource" : {
"type" : "local"
},
"inputFormat": {
"type": "csv"
},
"appendToExisting": true
}
每次我调用API进行摄取时,它都在创建新的分区
有没有办法防止在每次摄取时创建新分区?段是不可变的,因此在摄取时无法避免这种情况。(德鲁伊不会写入现有的段。)。不过,您可以稍后压缩这些片段(如参见)。在较新的版本中,还可以启用自动压缩。看