JNSimba commented on code in PR #56175:
URL: https://github.com/apache/doris/pull/56175#discussion_r2357753983
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -100,16 +100,19 @@ materializedViewStatement
| SHOW CREATE MATERIALIZED VIEW mvName=multipartIdentifier
#showCreateMTMV
;
supportedJobStatement
- : CREATE JOB label=multipartIdentifier ON SCHEDULE
- (
+ : CREATE JOB label=multipartIdentifier propertyClause?
+ ON (STREAMING | SCHEDULE(
(EVERY timeInterval=INTEGER_VALUE timeUnit=identifier
(STARTS (startTime=STRING_LITERAL | CURRENT_TIMESTAMP))?
(ENDS endsTime=STRING_LITERAL)?)
|
- (AT (atTime=STRING_LITERAL | CURRENT_TIMESTAMP)))
- commentSpec?
- DO supportedDmlStatement
#createScheduledJob
+ (AT (atTime=STRING_LITERAL | CURRENT_TIMESTAMP))
+ )
+ )
+ commentSpec?
+ DO supportedDmlStatement
#createScheduledJob
| PAUSE JOB WHERE (jobNameKey=identifier) EQ (jobNameValue=STRING_LITERAL)
#pauseJob
+ | ALTER JOB FOR (jobName=multipartIdentifier) (propertyClause |
supportedDmlStatement | propertyClause supportedDmlStatement)
#alterJob
Review Comment:
Here is a reference to ALTER ROUTINE LOAD FOR name
--
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]