Abhishek Kedia
01/04/2022, 7:48 AMKishore G
Kishore G
Abhishek Kedia
01/04/2022, 7:51 AMAbhishek Kedia
01/04/2022, 7:53 AM{
"tableName": "user_job_impression_v2",
"tableType": "REALTIME",
"segmentsConfig": {
"schemaName": "user_job_impression_v2",
"replication": "1",
"timeColumnName": "updated_at",
"allowNullTimeValue": false,
"replicasPerPartition": "1"
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant",
"tagOverrideConfig": {}
},
"tableIndexConfig": {
"loadMode": "MMAP",
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.topic.name": "bq-kafka-poc-v2",
"stream.kafka.broker.list": "xxx",
"stream.kafka.consumer.type": "lowlevel",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder",
"realtime.segment.flush.threshold.rows": "50000",
"realtime.segment.flush.threshold.time": "3600000",
"stream.kafka.bootstrap.servers": "xxx",
"security.protocol": "SASL_SSL",
"sasl.mechanism": "PLAIN",
"sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required xxx;",
"stream.kafka.hlc.bootstrap.server": "xxx"
},
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false,
"aggregateMetrics": false,
"nullHandlingEnabled": false
},
"metadata": {},
"quota": {},
"routing": {},
"query": {},
"ingestionConfig": {},
"isDimTable": false
}
schema -
{
"schemaName": "user_job_impression_v2",
"dimensionFieldSpecs": [
{
"name": "user_id",
"dataType": "INT"
},
{
"name": "job_id",
"dataType": "INT"
},
{
"name": "job_title",
"dataType": "STRING"
},
{
"name": "event_type",
"dataType": "STRING"
},
{
"name": "source",
"dataType": "STRING"
},
{
"name": "is_deposit",
"dataType": "BOOLEAN"
}
],
"metricFieldSpecs": [
{
"name": "horizontal_position",
"dataType": "FLOAT"
}
],
"dateTimeFieldSpecs": [
{
"name": "created_at",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "updated_at",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
}
]
}