This is an automated email from the ASF dual-hosted git repository.
zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 933b352caee Revise #26312, make executionPlanCache optional in
DistSQL. (#26320)
933b352caee is described below
commit 933b352caee662b1e352e021dc362550e36ec06d
Author: Raigor <[email protected]>
AuthorDate: Tue Jun 13 14:38:16 2023 +0800
Revise #26312, make executionPlanCache optional in DistSQL. (#26320)
---
.../parser/src/main/antlr4/imports/sql-federation/RALStatement.g4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kernel/sql-federation/distsql/parser/src/main/antlr4/imports/sql-federation/RALStatement.g4
b/kernel/sql-federation/distsql/parser/src/main/antlr4/imports/sql-federation/RALStatement.g4
index 14c7cc617a0..88a916f0aa6 100644
---
a/kernel/sql-federation/distsql/parser/src/main/antlr4/imports/sql-federation/RALStatement.g4
+++
b/kernel/sql-federation/distsql/parser/src/main/antlr4/imports/sql-federation/RALStatement.g4
@@ -28,7 +28,7 @@ alterSQLFederationRule
;
sqlFederationRuleDefinition
- : LP_ sqlFederationEnabled? COMMA_ executionPlanCache RP_
+ : LP_ sqlFederationEnabled? (COMMA_? executionPlanCache)? RP_
;
sqlFederationEnabled