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

Jingsong Lee updated FLINK-17606:
---------------------------------
    Description: 
{code:java}
CREATE TABLE user (
    id BIGINT,
    age INT,
    description STRING
) WITH (
    'type' = 'datagen',
    'rows-per-second'='100',

    'fields.id.generator.kind' = 'sequence',
    'fields.id.generator.start' = '1',

    'fields.age.generator.kind' = 'random',
    'fields.age.generator.min' = '0',
    'fields.age.generator.max' = '100',

    'fields.description.generator.kind' = 'random',
    'fields.description.generator.length' = '100'
)

-- Default is random generator.
{code}

  was:
{code:java}
CREATE TABLE user (
    id BIGINT,
    age INT,
    description STRING
) WITH (
    'type' = 'datagen',
    'rows-per-second'='100',

    'fields.id.generator.type' = 'sequence',
    'fields.id.generator.start' = '1',

    'fields.age.generator.type' = 'random',
    'fields.age.generator.min' = '0',
    'fields.age.generator.max' = '100',

    'fields.description.generator.type' = 'random',
    'fields.description.generator.length' = '100'
)

-- Default is random generator.
{code}


> Introduce DataGen connector in table
> ------------------------------------
>
>                 Key: FLINK-17606
>                 URL: https://issues.apache.org/jira/browse/FLINK-17606
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Jingsong Lee
>            Assignee: Jingsong Lee
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> {code:java}
> CREATE TABLE user (
>     id BIGINT,
>     age INT,
>     description STRING
> ) WITH (
>     'type' = 'datagen',
>     'rows-per-second'='100',
>     'fields.id.generator.kind' = 'sequence',
>     'fields.id.generator.start' = '1',
>     'fields.age.generator.kind' = 'random',
>     'fields.age.generator.min' = '0',
>     'fields.age.generator.max' = '100',
>     'fields.description.generator.kind' = 'random',
>     'fields.description.generator.length' = '100'
> )
> -- Default is random generator.
> {code}



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

Reply via email to