[
https://issues.apache.org/jira/browse/FLINK-17606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104268#comment-17104268
]
Jingsong Lee commented on FLINK-17606:
--------------------------------------
Hi [~jark] Thanks for correcting to FLIP-122.
For 3), merging way is not easy to extend, if we support some advanced
generation method, maybe it is hard to merge all parameters. So I prefer keep
the original way. (Add type to generator)
> 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.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}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)