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

Dawid Wysakowicz updated FLINK-34399:
-------------------------------------
    Description: 
Test suggestions:
1. Write a few Table API programs.
2. Call Table.getQueryOperation#asSerializableString, manually verify the 
produced SQL query
3. Check the produced SQL query is runnable and produces the same results as 
the Table API program:

{code}
Table table = tEnv.from("a") ...

String sqlQuery = table.getQueryOperation().asSerializableString();

//verify the sqlQuery is runnable
tEnv.sqlQuery(sqlQuery).execute().collect()
{code}

  was:
Test suggestions:
1. Write a few Table API programs.
2. Call Table.getQueryOperation#asSerializableString, manually verify the 
produced SQL query
3. Check the produced SQL query is runnable and produces the same results as 
the Table API program:


Table table = tEnv.from("a") ...

String sqlQuery = table.getQueryOperation().asSerializableString();

//verify the sqlQuery is runnable
tEnv.sqlQuery(sqlQuery).execute().collect()


> Release Testing: Verify FLINK-33644 Make QueryOperations SQL serializable
> -------------------------------------------------------------------------
>
>                 Key: FLINK-34399
>                 URL: https://issues.apache.org/jira/browse/FLINK-34399
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Dawid Wysakowicz
>            Priority: Major
>
> Test suggestions:
> 1. Write a few Table API programs.
> 2. Call Table.getQueryOperation#asSerializableString, manually verify the 
> produced SQL query
> 3. Check the produced SQL query is runnable and produces the same results as 
> the Table API program:
> {code}
> Table table = tEnv.from("a") ...
> String sqlQuery = table.getQueryOperation().asSerializableString();
> //verify the sqlQuery is runnable
> tEnv.sqlQuery(sqlQuery).execute().collect()
> {code}



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

Reply via email to