Jun Zhang created FLINK-16539:
---------------------------------
Summary: sql client set param error
Key: FLINK-16539
URL:
https://issues.apache.org/jira/browse/FLINK-16539 Project: Flink
Issue Type: Bug
Components: Command Line Client
Affects Versions: 1.10.0
Reporter: Jun Zhang
Fix For: 1.11.0
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)