Skip to content

Commit

Permalink
[#11111] Remove unnecessary depth to exception trace pinot table schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-ram committed Jun 4, 2024
1 parent e8f0f49 commit d677f44
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 121 deletions.
Original file line number Diff line number Diff line change
@@ -1,57 +1,55 @@
{
"OFFLINE": {
"tableName": "exceptionTrace_OFFLINE",
"tableType": "OFFLINE",
"segmentsConfig": {
"schemaName": "exceptionTrace",
"replication": "1",
"replicasPerPartition": "1",
"segmentPushFrequency": "HOURLY",
"segmentPushType": "APPEND",
"timeColumnName": "timestamp",
"minimizeDataMovement": false
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"noDictionaryColumns": [
"timestamp",
"transactionId",
"spanId",
"exceptionId",
"exceptionDepth"
],
"rangeIndexColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"bloomFilterColumns": [
"agentId"
],
"aggregateMetrics": false,
"nullHandlingEnabled": false,
"optimizeDictionaryForMetrics": false,
"noDictionarySizeRatioThreshold": 0,
"sortedColumn": [
"applicationName"
],
"loadMode": "MMAP",
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [
"errorMessage_logtype",
"errorMessage_dictionaryVars"
],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false
},
"metadata": {},
"quota": {},
"routing": {},
"query": {},
"ingestionConfig": {},
"isDimTable": false
}
"tableName": "exceptionTrace_OFFLINE",
"tableType": "OFFLINE",
"segmentsConfig": {
"schemaName": "exceptionTrace",
"replication": "1",
"replicasPerPartition": "1",
"segmentPushFrequency": "HOURLY",
"segmentPushType": "APPEND",
"timeColumnName": "timestamp",
"minimizeDataMovement": false
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"noDictionaryColumns": [
"timestamp",
"transactionId",
"spanId",
"exceptionId",
"exceptionDepth"
],
"rangeIndexColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"bloomFilterColumns": [
"agentId"
],
"aggregateMetrics": false,
"nullHandlingEnabled": false,
"optimizeDictionaryForMetrics": false,
"noDictionarySizeRatioThreshold": 0,
"sortedColumn": [
"applicationName"
],
"loadMode": "MMAP",
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [
"errorMessage_logtype",
"errorMessage_dictionaryVars"
],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false
},
"metadata": {},
"quota": {},
"routing": {},
"query": {},
"ingestionConfig": {},
"isDimTable": false
}
Original file line number Diff line number Diff line change
@@ -1,69 +1,67 @@
{
"REALTIME": {
"tableName": "exceptionTrace_REALTIME",
"tableType": "REALTIME",
"segmentsConfig": {
"schemaName": "exceptionTrace",
"replication": "1",
"replicasPerPartition": "1",
"timeColumnName": "timestamp",
"minimizeDataMovement": false
"tableName": "exceptionTrace_REALTIME",
"tableType": "REALTIME",
"segmentsConfig": {
"schemaName": "exceptionTrace",
"replication": "1",
"replicasPerPartition": "1",
"timeColumnName": "timestamp",
"minimizeDataMovement": false
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant",
"tagOverrideConfig": {}
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"noDictionaryColumns": [
"timestamp",
"transactionId",
"spanId",
"exceptionId",
"exceptionDepth"
],
"rangeIndexColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"bloomFilterColumns": [
"agentId"
],
"aggregateMetrics": false,
"nullHandlingEnabled": false,
"optimizeDictionaryForMetrics": false,
"noDictionarySizeRatioThreshold": 0,
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.topic.name": "exception-trace",
"stream.kafka.broker.list": "localhost:19092",
"stream.kafka.consumer.type": "lowlevel",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.inputformat.clplog.CLPLogMessageDecoder",
"stream.kafka.decoder.prop.fieldsForClpEncoding": "errorMessage",
"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "24h",
"realtime.segment.flush.segment.size": "100M"
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant",
"tagOverrideConfig": {}
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"noDictionaryColumns": [
"timestamp",
"transactionId",
"spanId",
"exceptionId",
"exceptionDepth"
],
"rangeIndexColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"bloomFilterColumns": [
"agentId"
],
"aggregateMetrics": false,
"nullHandlingEnabled": false,
"optimizeDictionaryForMetrics": false,
"noDictionarySizeRatioThreshold": 0,
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.topic.name": "exception-trace",
"stream.kafka.broker.list": "localhost:19092",
"stream.kafka.consumer.type": "lowlevel",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.inputformat.clplog.CLPLogMessageDecoder",
"stream.kafka.decoder.prop.fieldsForClpEncoding": "errorMessage",
"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "24h",
"realtime.segment.flush.segment.size": "100M"
},
"sortedColumn": [
"applicationName"
],
"loadMode": "MMAP",
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [
"errorMessage_logtype",
"errorMessage_dictionaryVars"
],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false
},
"metadata": {},
"quota": {},
"routing": {},
"query": {},
"ingestionConfig": {},
"isDimTable": false
}
"sortedColumn": [
"applicationName"
],
"loadMode": "MMAP",
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [
"errorMessage_logtype",
"errorMessage_dictionaryVars"
],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false
},
"metadata": {},
"quota": {},
"routing": {},
"query": {},
"ingestionConfig": {},
"isDimTable": false
}

0 comments on commit d677f44

Please sign in to comment.