vineethvp opened a new issue, #12422:
URL: https://github.com/apache/pinot/issues/12422
I'm working on a pinot cluster with version 1.1.0. I have created a table
schema with one field as JSON element. I have defined a JSON field and DOUBLE
field in my schema.
{
"name" : "data",
"dataType" : "JSON",
"notNull" : false
},{
"name" : "machine_util",
"dataType" : "DOUBLE",
"notNull" : false
},
I'm using below transformation configs to flatten JSON files.
"transformConfigs": [
{"columnName": "machine_util", "transformFunction":
"JSONPATHDOUBLE(data, '$.machine_util')" }]
I'm getting below error while creating table. I'm running this in a K8
cluster. The same code was working for me in a local setup using docker with
same version.
**{"code":400,"error":"Invalid transform function 'JSONPATHDOUBLE(data,
$.cpu_util)' for column 'cpu_util'"}bash-4.2#**
I'm executing the commands to create table using a curl command within
controller.
--
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]