[
https://issues.apache.org/jira/browse/FLINK-17606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104549#comment-17104549
]
Konstantin Knauf commented on FLINK-17606:
------------------------------------------
[~jark] I think, it is good addition and the two types "sequence" and "random"
seem to already cover a wide range of use cases. Would you consider this source
as a public API or can it be changed arbitrarily in the next releases?
> 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)