dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[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

Open dsanww opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

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?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

dsanww avatar Aug 15 '24 01:08 dsanww

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

Zzm0809 avatar Aug 15 '24 12:08 Zzm0809

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 天后将关闭,如需回复,可以评论回复。

github-actions[bot] avatar Nov 01 '24 00:11 github-actions[bot]

数据开发页面重构.如有问题请再次提 bug

Zzm0809 avatar Nov 07 '24 10:11 Zzm0809