[
https://issues.apache.org/jira/browse/FLINK-31084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Pohl updated FLINK-31084:
----------------------------------
Description:
The [DataGen connector's
parameters|https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/connectors/table/datagen/#connector-options]
are not precisely documented: The start/end parameters are labeled as optional
for the sequence generator even though they are (see
[SequenceGeneratorVisitor:85ff|https://github.com/apache/flink/blob/ef9ce854a3169014001f39e0d5908c703453f2b8/flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/connector/datagen/table/SequenceGeneratorVisitor.java#L85]).
But instead of updating the documentation, we should just come up with
reasonable default values. As a user, I would expect the positive integer
values to be returned starting from 0 if I don't specify anything here.
was:
The [DataGen connector's
parameters|https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/connectors/table/datagen/#connector-options]
are not precisely documented: The start/end parameters are labeled as required
for the sequence generator even though they are (see
[SequenceGeneratorVisitor:85ff|https://github.com/apache/flink/blob/ef9ce854a3169014001f39e0d5908c703453f2b8/flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/connector/datagen/table/SequenceGeneratorVisitor.java#L85]).
But instead of updating the documentation, we should just come up with
reasonable default values. As a user, I would expect the positive integer
values to be returned starting from 0 if I don't specify anything here.
> DataGen sequence generator requires the definition of start/end values
> ----------------------------------------------------------------------
>
> Key: FLINK-31084
> URL: https://issues.apache.org/jira/browse/FLINK-31084
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Common
> Affects Versions: 1.17.0, 1.15.3, 1.16.1
> Reporter: Matthias Pohl
> Assignee: xuzhiwen
> Priority: Major
> Labels: pull-request-available, starter
>
> The [DataGen connector's
> parameters|https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/connectors/table/datagen/#connector-options]
> are not precisely documented: The start/end parameters are labeled as
> optional for the sequence generator even though they are (see
> [SequenceGeneratorVisitor:85ff|https://github.com/apache/flink/blob/ef9ce854a3169014001f39e0d5908c703453f2b8/flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/connector/datagen/table/SequenceGeneratorVisitor.java#L85]).
> But instead of updating the documentation, we should just come up with
> reasonable default values. As a user, I would expect the positive integer
> values to be returned starting from 0 if I don't specify anything here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)