Slackbot
09/19/2023, 5:49 AMBibek Sahoo
09/19/2023, 5:56 AMsegmentGranularity and should look to tune the segment size with tuning config like maxRowsPerSegmentBibek Sahoo
09/19/2023, 5:56 AMBibek Sahoo
09/19/2023, 5:57 AMShithanshu Mishra
09/19/2023, 5:58 AMBibek Sahoo
09/19/2023, 6:00 AMShithanshu Mishra
09/19/2023, 6:01 AMShithanshu Mishra
09/19/2023, 6:15 AM{
type: "index",
spec: {
dataSchema: {
dataSource: process.env.DRUID_TABLE_NAME,
timestampSpec: {
column: "log_time",
format: "auto",
},
dimensionsSpec: {},
metricsSpec: [],
granularitySpec: {
segmentGranularity: "day",
queryGranularity: "none",
rollup: false
}
},
ioConfig: {
type: "index",
inputSource: {
type: "inline",
data: JSON.stringify(logRequest),
},
inputFormat: {
type: "json",
},
appendToExisting: true,
},
tuningConfig: {
type: "index",
},
},
};
Still new segments are getting createdBibek Sahoo
09/19/2023, 6:19 AMShithanshu Mishra
09/19/2023, 6:19 AMBibek Sahoo
09/19/2023, 6:20 AMShithanshu Mishra
09/19/2023, 6:20 AMBibek Sahoo
09/19/2023, 6:21 AM{
"type": "compact",
"dataSource": "process.env.DRUID_TABLE_NAME",
"ioConfig": {
"type": "compact",
"inputSpec": {
"type": "interval",
"interval": "2015-01-01/2024-01-01"
}
},
"granularitySpec": {
"segmentGranularity": "Day",
"queryGranularity": "none"
}
}Shithanshu Mishra
09/19/2023, 6:22 AMBibek Sahoo
09/19/2023, 6:23 AMShithanshu Mishra
09/19/2023, 6:23 AMBibek Sahoo
09/19/2023, 6:24 AMShithanshu Mishra
09/19/2023, 6:25 AMBibek Sahoo
09/19/2023, 6:26 AMShithanshu Mishra
09/19/2023, 6:27 AMKaran Kumar
09/19/2023, 6:57 AMKaran Kumar
09/19/2023, 7:00 AMShithanshu Mishra
09/19/2023, 7:02 AMKaran Kumar
09/19/2023, 7:03 AMSergio Ferragut
09/19/2023, 9:41 PM