You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2020/07/24 02:10:00 UTC

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

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

Jingsong Lee closed FLINK-18487.
--------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

master: 73210cc0f712158ec939ef3ad7dec52a921aad7c

> 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.11.0
>            Reporter: Benchao Li
>            Assignee: Jingsong Lee
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> 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)