This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new fe93764abac [fix](parser) should not use selectHint in any place
(#41260) (#41728)
fe93764abac is described below
commit fe93764abacc7cc1d92debb1d92423712e82bfd9
Author: morrySnow <[email protected]>
AuthorDate: Sat Oct 12 14:32:19 2024 +0800
[fix](parser) should not use selectHint in any place (#41260) (#41728)
pick from master #41260
---
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
index 62c5661589c..54fe6d9cd5c 100644
--- a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
+++ b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
@@ -135,7 +135,7 @@ columnAliases
;
selectClause
- : SELECT selectHint? (DISTINCT|ALL)? selectColumnClause
+ : SELECT (DISTINCT|ALL)? selectColumnClause
;
selectColumnClause
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]