Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Make the exception information of class not found more explicit when we want REATE SCHEMA or CREATE TABLE supported.
when we not add the class to the class path we got the exception as follows:
Error: Error while executing SQL "CREATE TABLE t (i INTEGER, j VARCHAR(10))": Property 'org.apache.calcite.sql.parser.ddl.SqlDdlParserImpl#FACTORY' not valid for plugin type org.apache.calcite.sql.parser.SqlParserImplFactory (state=,code=0)
And would be great if we have a little bit improvement as follows:
would be great if we can make the error message more explicit , such as: "Property 'org.apache.calcite.sql.parser.ddl.SqlDdlParserImpl#FACTORY' not valid as 'org.apache.calcite.sql.parser.ddl.SqlDdlParserImpl' not found in the classpath."
What do you think?
Attachments
Attachments
Issue Links
- relates to
-
CALCITE-4937 Upgrade Calcite to Avatica 1.20
- Closed
- links to