You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Benchao Li (Jira)" <ji...@apache.org> on 2020/07/05 08:38:00 UTC

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

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)