Raghu Koratagere
01/27/2025, 7:38 AMSchema with enableColumnBasedNullHandling:
{
"schemaName": "hs_test_tbl_v4",
"enableColumnBasedNullHandling": true,
"dimensionFieldSpecs": [
{
"name": "id",
"dataType": "STRING",
"notNull": true
},
{
"name": "lead_type",
"dataType": "STRING",
"notNull": false
}
],
"metricFieldSpecs": [],
"dateTimeFieldSpecs": [
{
"name": "captured_time",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
}
],
"primaryKeyColumns": [
"id"
]
}
Input JSON from Kafka Producer:
{
"payload": {
"before": null,
"after": {
"id": "123456790",
"lead_type": null
},
"ts_ms": 1737715582664
}
}
Data Stored in Pinot:
[
"123456790",
"null"
]
Queries which using is Null and is not null are not working. Since data in Pinot shows String "null" it doesnt work for NULL filters