[
https://issues.apache.org/jira/browse/FLINK-37649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weijie Guo updated FLINK-37649:
-------------------------------
Description:
I use the following DDL to generate collection type data:
{code:java}
CREATE TABLE Orders (
f0 Array<INT>,
f1 Map<INT, STRING>,
f2 MULTISET<INT>
) WITH (
'connector' = 'datagen',
'fields.f0.length' = '10',
'fields.f1.length' = '10',
'fields.f2.length' = '10'
);
{code}
But got:
{code:java}
Unsupported options:
fields.f0.length
fields.f1.length
fields.f2.length
{code}
was:
I use the following DDL to generate collection type data:
{code:java}
{code}
{code:java}
Unsupported options:
fields.f0.length
fields.f1.length
fields.f2.length
{code}
> Datagen connector cannot set length for collection type
> -------------------------------------------------------
>
> Key: FLINK-37649
> URL: https://issues.apache.org/jira/browse/FLINK-37649
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Common
> Affects Versions: 2.0.0
> Reporter: Weijie Guo
> Assignee: Weijie Guo
> Priority: Major
>
> I use the following DDL to generate collection type data:
> {code:java}
> CREATE TABLE Orders (
> f0 Array<INT>,
> f1 Map<INT, STRING>,
> f2 MULTISET<INT>
> ) WITH (
> 'connector' = 'datagen',
> 'fields.f0.length' = '10',
> 'fields.f1.length' = '10',
> 'fields.f2.length' = '10'
> );
> {code}
> But got:
> {code:java}
> Unsupported options:
> fields.f0.length
> fields.f1.length
> fields.f2.length
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)