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

Piotr Nowojski updated FLINK-16539:
-----------------------------------
    Release Note:   (was: 
)

> sql client set param error
> --------------------------
>
>                 Key: FLINK-16539
>                 URL: https://issues.apache.org/jira/browse/FLINK-16539
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.10.0
>            Reporter: Jun Zhang
>            Assignee: Jun Zhang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When setting int type parameters in sql client, such as:
> set execution.parallelism = 10;
> The system threw an exception: 
> {code:java}
> //
> Caused by: org.apache.flink.table.api.ValidationException: Property 
> 'parallelism' must be a integer value but was: 10 at 
> org.apache.flink.table.descriptors.DescriptorProperties.validateComparable(DescriptorProperties.java:1572)
>  at 
> org.apache.flink.table.descriptors.DescriptorProperties.validateInt(DescriptorProperties.java:944)
>  at 
> org.apache.flink.table.descriptors.DescriptorProperties.validateInt(DescriptorProperties.java:937)
>  at 
> org.apache.flink.table.client.config.entries.ExecutionEntry.validate(ExecutionEntry.java:140)
>  at 
> org.apache.flink.table.client.config.entries.ConfigEntry.<init>(ConfigEntry.java:39)
>  ... 11 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to