DataLinkDC / dinky

Dinky is a real-time data development platform based on Apache Flink, enabling agile data development, deployment and operation.
http://www.dinky.org.cn
Apache License 2.0
3.06k stars 1.13k forks source link

[Bug] when data type is Collection Data Types, the result tab can not display the result #707

Closed nikshe closed 8 months ago

nikshe commented 2 years ago

Search before asking

What happened

when data type is Collection Data Types, such as ARRAY, MULTISET, MAP and ROW types , the result tab can not display the result,

What you expected to happen

the results should be displayed corrently.

How to reproduce

with flink 1.14.4 and dlink0.6.5, using the yarn session mode submit flowing job, CREATE TEMPORARY TABLE hp ( character-with-age MAP<STRING,INT>, spells MULTISET, locations ARRAY, house-points ROW<house STRING, points INT> ) WITH ( 'connector' = 'faker', 'fields.character-with-age.key.expression' = '#{harry_potter.character}', 'fields.character-with-age.value.expression' = '#{number.numberBetween ''10'',''100''}', 'fields.character-with-age.length' = '2', 'fields.spells.expression' = '#{harry_potter.spell}', 'fields.spells.length' = '5', 'fields.locations.expression' = '#{harry_potter.location}', 'fields.locations.length' = '3', 'fields.house-points.house.expression' = '#{harry_potter.house}', 'fields.house-points.points.expression' = '#{number.numberBetween ''10'',''100''}' );

SELECT * FROM hp;

image

Anything else

No response

Version

0.6.5

Are you willing to submit PR?

Code of Conduct

aiwenmo commented 2 years ago

Hi. These data types require extension code to obtain values.