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

Flink Jira Bot updated FLINK-25284:
-----------------------------------
    Labels: pull-request-available stale-assigned  (was: pull-request-available)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issue is assigned but has not 
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a 
comment updating the community on your progress.  If this issue is waiting on 
feedback, please consider this a reminder to the committer/reviewer. Flink is a 
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone 
else may work on it.


> Support nulls in DataGen
> ------------------------
>
>                 Key: FLINK-25284
>                 URL: https://issues.apache.org/jira/browse/FLINK-25284
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Minor
>              Labels: pull-request-available, stale-assigned
>
> Currently it is impossible to specify that some values should be null 
> sometimes.
> It would be nice to have some property something like {{null-rate}} telling 
> how often there should be {{null}} value generated
> something like that
> {code:sql}
> CREATE TABLE Orders (
>     order_number STRING,
>     price        DECIMAL(32,2),
>     buyer        ROW<id INT, last_name STRING>,
>     order_time   TIMESTAMP(3),
>     my_map       MAP<INT,STRING>,
>     my_arrray    ARRAY<STRING>
> ) WITH (
>    'connector' = 'datagen',
>    'fields.order_number.null-rate' = '0.7',
>    'fields.price.null-rate' = '1.0',
>    'fields.order_time.null-rate' = '0.5',
>    'fields.buyer.id.null-rate' = '0.5',
>    'fields.buyer.null-rate' = '0.5',
>    'fields.my_map.key.null-rate' = '0.5',
>    'fields.my_map.null-rate' = '0.5',
>    'fields.my_array.element.null-rate' = '0.1',
>    'fields.my_array.null-rate' = '0.5'
> );
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to