You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/06/18 10:28:27 UTC
[GitHub] [shardingsphere] encodeering commented on issue #4092: class cast exception if no viable alternative could be found
encodeering commented on issue #4092:
URL: https://github.com/apache/shardingsphere/issues/4092#issuecomment-645930406
@jingshanglu thanks for getting back and taking care of it!
I've build a version based on the latest master commit 310d2003 and ran some of our tests. The output is a bit different now
```
line 1:9 missing {'=', TO} at ''postgres''
line 1:7 no viable alternative at input 'CREATESCHEMA'
org.apache.shardingsphere.sql.parser.exception.SQLParsingException: Unsupported SQL of `CREATE SCHEMA "abc"`
at org.apache.shardingsphere.sql.parser.core.parser.SQLParserExecutor.execute(SQLParserExecutor.java:49)
at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse0(SQLParserEngine.java:78)
at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse(SQLParserEngine.java:60)
at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.<init>(ShardingSpherePreparedStatement.java:137)
at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.<init>(ShardingSpherePreparedStatement.java:111)
at org.apache.shardingsphere.driver.jdbc.core.connection.ShardingSphereConnection.prepareStatement(ShardingSphereConnection.java:78)
at org.flywaydb.core.internal.jdbc.JdbcTemplate.prepareStatement(JdbcTemplate.java:346)
at org.flywaydb.core.internal.jdbc.JdbcTemplate.execute(JdbcTemplate.java:223)
```
Do you think this is related or do you want me to create a different task?
Cheers
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org