Druid - 防止在每次 CSV 摄取时创建新分区
Druid - Prevent new partition from getting created on each CSV ingestion
我有摄取规范
"rollup": false,
"segmentGranularity" : "day",
"queryGranularity" : {
"type": "duration",
"duration": 60000
}
}
},
"ioConfig" : {
"type" : "index",
"inputSource" : {
"type" : "local"
},
"inputFormat": {
"type": "csv"
},
"appendToExisting": true
}
每次我调用 API 进行摄取时,它都会创建新分区
有没有办法防止在每次摄取时创建新分区?
段是不可变的,因此您无法在摄取时避免这种情况。 (德鲁伊不会写入现有段。)。不过,您可以稍后压缩这些段,例如参见 [=10=] .
我有摄取规范
"rollup": false,
"segmentGranularity" : "day",
"queryGranularity" : {
"type": "duration",
"duration": 60000
}
}
},
"ioConfig" : {
"type" : "index",
"inputSource" : {
"type" : "local"
},
"inputFormat": {
"type": "csv"
},
"appendToExisting": true
}
每次我调用 API 进行摄取时,它都会创建新分区
段是不可变的,因此您无法在摄取时避免这种情况。 (德鲁伊不会写入现有段。)。不过,您可以稍后压缩这些段,例如参见 [=10=] .