strongduanmu commented on code in PR #27228:
URL: https://github.com/apache/shardingsphere/pull/27228#discussion_r1267943311
##########
parser/sql/dialect/oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/statement/type/OracleDALStatementVisitor.java:
##########
@@ -32,4 +35,21 @@ public final class OracleDALStatementVisitor extends
OracleStatementVisitor impl
public ASTNode visitAlterResourceCost(final AlterResourceCostContext ctx) {
return new OracleAlterResourceCostStatement();
}
+
+ @Override
+ public ASTNode visitExplain(final ExplainContext ctx) {
+ OracleExplainStatement result = new OracleExplainStatement();
+ OracleDMLStatementVisitor visitor = new OracleDMLStatementVisitor();
+ visitor.setParameterMarkerSegments(getParameterMarkerSegments());
Review Comment:
If the parameters are not merged, the number of parameters in the parsing
result will be less than the actual value.
--
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]