[ 
https://issues.apache.org/jira/browse/FLINK-28953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598827#comment-17598827
 ] 

Jun He commented on FLINK-28953:
--------------------------------

Hi, [~fsk119], when using EGIN STATEMENT SET to execute multiple statements, it 
throws a *java.lang.IllegalArgumentException: only single statement supported* 
exception, does this is as expected? below is my rest request body:
{code:java}
curl -H "Content-Type: application/json" -XPOST 
'http://localhost:8083/v1/sessions/07b330b0-33f6-4501-b2f7-98c407d229ff/statements'
 -d "{\"statement\": \"BEGIN STATEMENT SET;CREATE TABLE datagen (f_random_str 
STRING) WITH ('connector' = 
'datagen','rows-per-second'='100','fields.f_random_str.length'='100');CREATE 
TABLE blackhole_table (f2 STRING) WITH ('connector' = 'blackhole');insert into 
blackhole_table select f_random_str as f2 from datagen; END\"}" {code}
 

> Release Testing: Verify FLIP-91 SQL Gateway
> -------------------------------------------
>
>                 Key: FLINK-28953
>                 URL: https://issues.apache.org/jira/browse/FLINK-28953
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Gateway
>    Affects Versions: 1.16.0
>            Reporter: Shengkai Fang
>            Assignee: Jun He
>            Priority: Blocker
>              Labels: release-testing
>             Fix For: 1.16.0
>
>
> SQL Gateway is ready to submit SQL with REST Endpoint. I think we should 
> verify:
>  # ./sql-gateway.sh start and stop the SQL Gateway and using REST API to 
> submit a job
>  # running SQL Gateway with standalone/yarn-session cluster
>  # verify SELECT in batch/streaming mode:
>  ## the RowKind is correct(+I/-UB/+UA/-D)
>  ## fetch with token
>  # verify add jar is ready in the gateway side, the downloaded resource will 
> be cleaned after exits.



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

Reply via email to