61yao opened a new issue, #10205:
URL: https://github.com/apache/pinot/issues/10205

   For example, today, the error msg is below when the column type is json.
   
   It is better we print out "json is not supported"
   
   [
     {
       "message": "SQLParsingError:\njava.lang.RuntimeException: Error 
composing query plan for: select ID from testRecords\n\tat 
org.apache.pinot.query.QueryEnvironment.planQuery(QueryEnvironment.java:143)\n\tat
 
org.apache.pinot.broker.requesthandler.MultiStageBrokerRequestHandler.handleRequest(MultiStageBrokerRequestHandler.java:157)\n\tat
 
org.apache.pinot.broker.requesthandler.MultiStageBrokerRequestHandler.handleRequest(MultiStageBrokerRequestHandler.java:132)\n\tat
 
org.apache.pinot.broker.requesthandler.BrokerRequestHandler.handleRequest(BrokerRequestHandler.java:47)\n...\nCaused
 by: java.lang.UnsupportedOperationException: unsupported!\n\tat 
org.apache.pinot.query.type.TypeFactory.toRelDataType(TypeFactory.java:82)\n\tat
 
org.apache.pinot.query.type.TypeFactory.createRelDataTypeFromSchema(TypeFactory.java:49)\n\tat
 org.apache.pinot.query.catalog.PinotTable.getRowType(PinotTable.java:49)\n\tat 
org.apache.calcite.sql.validate.EmptyScope.resolve_(EmptyScope.java:161)",
       "errorCode": 150
     }
   ]


-- 
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: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to