Skip to content
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

[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

Closed
2 of 3 tasks
dsanww opened this issue Aug 15, 2024 · 3 comments
Labels
Bug Something isn't working Invalid Invalid

Comments

@dsanww
Copy link

dsanww commented Aug 15, 2024

Search before asking

  • 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 dsanww added Bug Something isn't working Waiting for reply Waiting for reply labels Aug 15, 2024
@dsanww dsanww changed the title [Bug] [Module Name] Bug title [Bug] [Data Development] When I query the field type: Array<Struct<name string,id string>> of the paimon data, click the query button, the page error Aug 15, 2024
@dsanww dsanww changed the title [Bug] [Data Development] When I query the field type: Array<Struct<name string,id string>> of the paimon data, click the query button, the page error [Bug] [Data Development] When I query the field type: Array<row<name string,id string>> of the paimon data, click the query button, the page error Aug 15, 2024
@dsanww dsanww changed the title [Bug] [Data Development] When I query the field type: Array<row<name string,id string>> of the paimon data, click the query button, the page error [Bug] [Data Development] When I query the field type: array<row<c_id STRING,c_name STRING>> of the paimon data, click the query button, the page error Aug 15, 2024
@dsanww dsanww changed the title [Bug] [Data Development] When I query the field type: array<row<c_id STRING,c_name STRING>> of the paimon data, click the query button, the page error [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 Aug 15, 2024
@Zzm0809
Copy link
Contributor

Zzm0809 commented Aug 15, 2024

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

@Zzm0809 Zzm0809 removed the Waiting for reply Waiting for reply label Sep 23, 2024
Copy link

github-actions bot commented Nov 1, 2024

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 github-actions bot added the Invalid Invalid label Nov 1, 2024
@Zzm0809
Copy link
Contributor

Zzm0809 commented Nov 7, 2024

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

@Zzm0809 Zzm0809 closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Invalid Invalid
Projects
None yet
Development

No branches or pull requests

2 participants