[jira] [Created] (FLINK-18487) New table source factory omits unrecognized properties silently

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18487) New table source factory omits unrecognized properties silently

Shang Yuanchun (Jira)
Benchao Li created FLINK-18487:
----------------------------------

             Summary: New table source factory omits unrecognized properties silently
                 Key: FLINK-18487
                 URL: https://issues.apache.org/jira/browse/FLINK-18487
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
    Affects Versions: 1.10.1
            Reporter: Benchao Li


For the following DDL, we just omits the unrecognized property 'records-per-second'.
{code:sql}
CREATE TABLE MyDataGen (
  int_field int,
  double_field double,
  string_field varchar
) WITH (
  'connector' = 'datagen',
  'records-per-second' = '1'  -- should be rows-per-second
)
{code}
IMO, we should throw Exceptions to tell users that they used a wrong property.
 CC [~jark] [~twalthr]



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