[ 
https://issues.apache.org/jira/browse/FLINK-32772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-32772:
-----------------------------------
    Labels: pull-request-available  (was: )

> Add support of SET statements in the SQL Runner example
> -------------------------------------------------------
>
>                 Key: FLINK-32772
>                 URL: https://issues.apache.org/jira/browse/FLINK-32772
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: Mehdi
>            Priority: Major
>              Labels: pull-request-available
>
> When having a script containing `SET` statement the SQL Runner example 
> execute it as an SQL query and is not setting the environment config instead.
> h2. How to reproduce
> This issue can be reproduced as follows:
>  * Add {{SET 'parallelism.default' = '2';}} on top of the SQL statements in 
> [https://github.com/apache/flink-kubernetes-operator/blob/main/examples/flink-sql-runner-example/sql-scripts/statement-set.sql]
>  * Build and execute the example, and verify that the error {{The main method 
> caused an error: Unsupported SQL query! executeSql() only accepts a single 
> SQL statement of type [...]}} is happening in the pod log



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to