Repository navigation
Replies: 2 comments 5 replies
|
@makssent Are you using ShardingSphere SQL Parser component? Your exception appears to be caused by type conversion during visit, a more complete exception stack may help solve the problem. |
|
If I understood you correctly, I am using ShardingSphere for SQL parsing, but the debugging is done through a custom utility. This utility runs the necessary queries through ShardingSphere and my database, then generates an HTML report with errors or their absence. The utility doesn't have logging like a typical project using ShardingSphere. Do you think I should create such a project? You can check the project at this link: https://github.com/makssent/shardingsphere/tree/shardingsphere-rdb Thanks in advance for noticing my ticket. |
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I recently encountered a problem that I've been struggling with for a long time. I implemented a CREATE VIEW statement for my database, and it looks like this:
createView : (CREATE (OR ALTER)? VIEW) viewName viewAliasClause? AS select (WITH (CASCADED | LOCAL)? CHECK OPTION)? ; viewAliasClause : LP_ viewAlias (COMMA_ viewAlias)* RP_ ; viewAlias : columnName (AS alias)? ; columnName : (owner DOT_)? name ; name : identifier ;I ran into an error: if I use BEGIN instead of AS, everything works fine. However, when using the syntax AS select, it throws the following error:
Does anyone have any ideas on how I can resolve this issue or where I can look for a solution?
All reactions