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.13k stars 1.15k forks source link

[Bug] [Data Development] When I query the field type: array<row<c_id STRING,c_name STRING>> of the data, click the query button, the page error #3711

Open dsanww opened 2 months ago

dsanww commented 2 months ago

Search before asking

What happened

flink:1.18 dinky:1.0.3

When I query the field type: Array<Struct<name string,id string>> of the data, click the query button, the page error。

paimon ddl:

create TABLE if not exists default.t2 ( theme_id STRING NOT NULL COMMENT '主键,全局唯一id', category_ids array<row<c_id STRING,c_name STRING>> COMMENT '品类id', update_time TIMESTAMP(0) COMMENT '更新时间', PRIMARY KEY (theme_id) NOT ENFORCED ) WITH ( 'bucket' = '1', 'changelog-producer' = 'lookup', 'merge-engine'='partial-update', 'fields.update_time.sequence-group'='category_ids', 'fields.category_ids.aggregate-function' = 'nested_update', 'fields.category_ids.nested-key' = 'c_id' );

when i try: select * from default.t2 ;

then: found error page: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bkind%2C%20arity%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

image

What you expected to happen

no error

How to reproduce

paimon ddl:

create TABLE if not exists default.t2 ( theme_id STRING NOT NULL COMMENT '主键,全局唯一id', category_ids array<row<c_id STRING,c_name STRING>> COMMENT '品类id', update_time TIMESTAMP(0) COMMENT '更新时间', PRIMARY KEY (theme_id) NOT ENFORCED ) WITH ( 'bucket' = '1', 'changelog-producer' = 'lookup', 'merge-engine'='partial-update', 'fields.update_time.sequence-group'='category_ids', 'fields.category_ids.aggregate-function' = 'nested_update', 'fields.category_ids.nested-key' = 'c_id' );

insert some data....

select * from default.t2 ;

then click query result button

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct

Zzm0809 commented 2 months ago

@gaoyan1998 paimon 作业下 是否能复现?

github-actions[bot] commented 2 days ago

Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.

你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。