imay commented on a change in pull request #456: Add routine load statement URL: https://github.com/apache/incubator-doris/pull/456#discussion_r243603710
########## File path: fe/src/main/cup/sql_parser.cup ########## @@ -1103,6 +1122,63 @@ opt_cluster ::= :} ; +// Routine load statement +create_routine_load_stmt ::= + KW_CREATE KW_ROUTINE_LOAD ident:jobName KW_ON ident:db DOT ident:table + LPAREN routine_load_desc:routineLoadDesc RPAREN + opt_properties:routineLoadProperties + KW_FROM stream_data_source_type:type LPAREN key_value_map:typeProperties RPAREN + {: + RESULT = new CreateRoutineLoadStmt(jobName, db, table, routineLoadDesc, routineLoadProperties, type, typeProperties); + :} + ; + +routine_load_desc ::= Review comment: I think you can put all of these to properties ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org