-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support of nested collections #28
base: master
Are you sure you want to change the base?
Conversation
c214e71
to
dbcf354
Compare
now rebased |
@knaufk could you please have a look once you have time? |
98c833d
to
b2b6500
Compare
Thank you for your patience. I've rebased. I am not 100% sure about the syntax. Can you elaborate why the |
yes, CREATE TEMPORARY TABLE t (
`arrays` ARRAY<ARRAY<ARRAY<STRING>>>
) WITH (
'connector' = 'faker',
'fields.arrays.element.element.expression' = '#{harry_potter.character}',
'fields.arrays.element.element.length' = '2',
'fields.arrays.element.length' = '3',
'fields.arrays.length' = '4',
'fields.arrays.element.element.null-rate' = '0.1',
'fields.arrays.element.null-rate' = '0.1',
'fields.arrays.null-rate' = '0.1'
);
UPD: the issue below could be fixed with apache/flink#19254 Flink 1.14.3's NPE
without CREATE TEMPORARY TABLE t2 (
`arrays` ARRAY<ARRAY<ARRAY<STRING>>>
) WITH (
'connector' = 'faker',
'fields.arrays.element.element.expression' = '#{harry_potter.character}',
'fields.arrays.element.element.length' = '2',
'fields.arrays.element.length' = '3',
'fields.arrays.length' = '4'
); |
b2b6500
to
515c243
Compare
515c243
to
87997da
Compare
Rebased |
87997da
to
1ede217
Compare
Rebased. |
1ede217
to
b7e7012
Compare
within the PR I introduces a new POJO
FieldInfo
and it simplifies to specifyexpressions
,null-rate
,length
per any elements in case of complex types like maps of arrays of row and so on.In fact this PR will be in conflict with #21.
Once one of them will be merged I can rebase another one