yagmuratak commented on issue #13268:
URL: https://github.com/apache/pinot/issues/13268#issuecomment-2142084140
I figured it out finally. I set **"stream.kafka.metadata.populate": true**
configuration in **tableIndexConfig.streamConfigs** and
> {
"name": "__metadata$offset",
"dataType": "STRING"
},
{
"name": "__header$channel",
"dataType": "BYTES"
},
{
"name": "channel",
"dataType": "STRING"
}
added these column definitions into **dimensionFieldSpecs**. Header values
are in BYTES type so I converted them to STRING via this code in
**ingestionConfig.transformConfigs**
> {
"columnName": "channel",
"transformFunction": "fromUtf8(__header$channel)"
}
So, **channel** column is visible in Pinot table.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]