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: [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]