This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 1d2e2adb74e [fix](parser) should not use selectHint in any place
(#41260) (#41619)
1d2e2adb74e is described below
commit 1d2e2adb74e67f30713a52b22d6c22157627861d
Author: morrySnow <[email protected]>
AuthorDate: Wed Oct 9 23:00:04 2024 +0800
[fix](parser) should not use selectHint in any place (#41260) (#41619)
pick from master #41260
because all comment has been redirect to channel 2, we should not use
hint in any place. selectHint only use to parse hint.
---
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 9c78ab4e997..5b75deca198 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
@@ -386,7 +386,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]