shardingsphere
shardingsphere copied to clipboard
[Issue#17635] Support oracle sql Procedure
Fixes #ISSUSE_17635.
add oracle sql Procedure grammar Changes proposed in this pull request:
-
[ ] alterProcedure
-
[ ] createProcedure
-
[ ] dropProcedure
Syntax errors need to be fixed at the moment, processing
Hi @complone, maybe you should return OracleCreateProceduretStatement
in method visitCreateProcedure, class OracleDDLStatementSQLVisitor.java
Hi @complone, maybe you should return
OracleCreateProceduretStatement
in method visitCreateProcedure, class OracleDDLStatementSQLVisitor.java
@chakkk309
The problem is that the syntax of Procedure needs to support begin...end
content when creating
So need to define additional keywords and expressions, I will refer to here
https://github.com/antlr/grammars-v4/blob/master/sql/plsql/PlSqlParser.g4
Hi @complone, can you resolve the conflict first? Otherwise, the ci test won't start.
Hi @complone, can you resolve the conflict first? Otherwise, the ci test won't start.
The grammar is still under development
@complone The progress of this PR has not been upgraded for a long time. If there is no update, I will close it soon.
I just close this PR and reopen issue #17635.