Skip to content

导入clickhouse字段类型是decimal类型报错 #647

@Ausord

Description

@Ausord

Describe the bug
clickhouse官网显示Decimal(P,S),但是ClickhouseRawTypeConverter.java支持的decimal类型没有精度,导致导入clickhouse的字段类型是decimal都抛出找不到decimal[p,s]异常

To Reproduce
Steps to reproduce the behavior:

  1. 在clickhouse库新建表,其中字段包含Decimal(18, 6),Decimal64(6)..等相关decimal字段类型
  2. flink1.12.7版本,write 填写clickhouse相关信息
  3. log显示出现报错信息

Screenshots
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions