morningman commented on code in PR #13772:
URL: https://github.com/apache/doris/pull/13772#discussion_r1011250020
##########
fe/fe-core/src/main/cup/sql_parser.cup:
##########
@@ -349,6 +349,7 @@ terminal String
KW_ENTER,
KW_ERRORS,
KW_EVENTS,
+ KW_EVERY,
Review Comment:
maybe we can reuse keyword `INTERVAL`?
And in MySQL, there are many stmt like `INTERVAL 1 DAY`, and I found in PG:
https://www.postgresql.org/docs/current/ddl-partitioning.html
we can refer as:
```
PARTITION BY RANGE(date)
FROM ("2022-10-11") TO ("2022-11-10") INTERVAL 1 DAY/MONTH/WEEK/YEAR
PARTITION BY RANGE(int_col)
FROM ("10") TO ("100") INTERVAL 10
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]