This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new d65e1fbeeb [fix](branch-1.2) add TIME as KEYWORD (#15483)
d65e1fbeeb is described below
commit d65e1fbeeb9c75627e2fca0388b11e0e4d5d4b45
Author: Mingyu Chen <[email protected]>
AuthorDate: Thu Dec 29 17:59:03 2022 +0800
[fix](branch-1.2) add TIME as KEYWORD (#15483)
---
fe/fe-core/src/main/cup/sql_parser.cup | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fe/fe-core/src/main/cup/sql_parser.cup
b/fe/fe-core/src/main/cup/sql_parser.cup
index 20cc80a81d..97c3fdd5c3 100644
--- a/fe/fe-core/src/main/cup/sql_parser.cup
+++ b/fe/fe-core/src/main/cup/sql_parser.cup
@@ -6762,6 +6762,8 @@ keyword ::=
{: RESULT = id; :}
| KW_THAN:id
{: RESULT = id; :}
+ | KW_TIME:id
+ {: RESULT = id; :}
| KW_TIMESTAMP:id
{: RESULT = id; :}
| KW_TRANSACTION:id
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]