apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.29k stars 1.16k forks source link

[Bug] When trino queries a table containing a decimal field, the metadata of that field is converted to a string #4892

Closed v-kkhuang closed 1 month ago

v-kkhuang commented 1 year ago

异常背景

使用trino查询包含decimal字段的表时,该字段元数据会被转换为string。 image

重现步骤

1.用户查询语句:select * from leebai_ind.test_alltype_null 2.查看openFile接口返回的元数据:发现decimal类型变为string


Abnormal background

When using trino to query a table containing a decimal field, the metadata of that field is converted to a string.

Repro steps

  1. User query statement: select * from leebai Ind. test Alltype_ Null
  2. View the metadata returned by the openFile interface: found that the decimal type has changed to string
github-actions[bot] commented 1 year ago

:blush: Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive