Hi team, I have a question and don’t know how to solve it. How can I extract numOfStas.Policy in Kafka message and save it to a Pinot table field? When I use transformFunction, it doesn’t work.
{
“columnName”: “stas_policy”,
“transformFunction”: “jsonPathString(stats, ‘$.text_body.fields.numOfStas.Policy’)”
}
And a sample Kafka message is like this:
{
“name”: “telemetry_signal_gfw_api_usage”,
“stats”: {
“text_body”: {
“fields”: {
“numOfStas”: 0,
“numOfStas.Policy”: 21
}
}
}
}