[ https://issues.apache.org/jira/browse/FLINK-22655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343954#comment-17343954 ]
JasonLee commented on FLINK-22655: ---------------------------------- hi Jark the The submission order is as follows {{sql-client.sh -i init.sql -f test.sql }}{{and the init.sql as follows:}} -- set the job name SET pipeline.name=SqlJob; {{then the job will throw a exception,Failed to initialize from sql script: %s. Please refer to the LOG for detailed error messages}} But if you remove the comment, it will work and i see the code -i and -f use the same code but it works well with the comment in the test.sql. > When using -i <init.sql> option to initialize SQL Client session It should be > possible to annotate the script with -- > --------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-22655 > URL: https://issues.apache.org/jira/browse/FLINK-22655 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Client > Affects Versions: 1.13.0 > Reporter: JasonLee > Assignee: Shengkai Fang > Priority: Major > Fix For: 1.14.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)