KISHORE B R
04/18/2022, 8:46 AMKISHORE B R
04/18/2022, 8:50 AMKartik Khare
04/18/2022, 11:23 AMKISHORE B R
04/18/2022, 11:27 AMKartik Khare
04/18/2022, 11:31 AM"Caused by: java.lang.IllegalStateException: Cannot read single-value from Collection".
The line should also contain the column name as wellKISHORE B R
04/18/2022, 11:33 AMKISHORE B R
04/18/2022, 11:33 AMKartik Khare
04/18/2022, 11:54 AMQueue
column to STRING
in schema.
Also, change the noDictionaryColumns
to jsonIndexColumns
in table configKISHORE B R
04/18/2022, 12:06 PMKartik Khare
04/18/2022, 12:41 PMJSON
datatype in master branch. This seems to be a bug. If you are stuck with 0.10 release, I suggest exploring https://docs.pinot.apache.org/basics/data-import/complex-typeNeha Pawar
{
"name":"QueueName",
"dataType":"STRING"
},
{
"name":"QueueJson",
"dataType":"STRING"
},
and then use JSONFORMAT for QueueJson and JSONPATHSTRING for the other extractions
"ingestionConfig": {
"transformConfigs": [{
"columnName": "QueueName",
"transformFunction": "JSONPATHSTRING(Queue,'$.qdetails[0].qname','null')"
},{
"columnName": "QueueJson",
"transformFunction": "JSONFORMAT(Queue)"
}]
}