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.08k stars 1.13k forks source link

[Optimization][Catalog] Supports viewing the schema of SQL tables containing complex data types in catalog #3532

Closed 6-archer-9 closed 2 months ago

6-archer-9 commented 4 months ago

Search before asking

Description

Ⅰ.In the catalog list, it's not possible to view the table schema if it includes complex types 1.When clicking to view the table structure under the catalog:

Snipaste_2024-05-24_17-16-39 Snipaste_2024-05-24_17-14-15

2.The situation leads to incorrect display,resulting in the following error:

Snipaste_2024-05-24_17-19-32

3.The original table structure is:

Snipaste_2024-05-24_17-20-55

4.The reason for encountering this issue is due to the inclusion of some complex Flink types, such as:

Snipaste_2024-05-24_17-18-42

Looking forward to being able to view the structure of tables containing these data types.

Ⅱ.The list of views is unavailable

Snipaste_2024-05-24_17-28-29 Snipaste_2024-05-24_17-28-50

For the created views, they appear duplicated in the tables list and can be clicked to view. However, clicking on the views in the views section does not produce any response. I'm not sure if this is a bug.

Are you willing to submit a PR?

Code of Conduct

Zzm0809 commented 4 months ago

你有兴趣来优化此功能吗?

suxinshuo commented 3 months ago

你有兴趣来优化此功能吗?

我看这个报错是由于找不到对应的 java type 报的空指针错误,从官网上我没有找到这几种复杂类型对应的 java type,对于这种,我们是不是可以暂时在 java 类型这里放个空,最起码不会报错导致表结构看不到 @Zzm0809 image image

Zzm0809 commented 2 months ago

你有兴趣来优化此功能吗?

我看这个报错是由于找不到对应的 java type 报的空指针错误,从官网上我没有找到这几种复杂类型对应的 java type,对于这种,我们是不是可以暂时在 java 类型这里放个空,最起码不会报错导致表结构看不到 @Zzm0809 image image

未给出映射关系的统一默认 string 类型即可!! @suxinshuo