DTStack / DTStack/chunjun

UnsupportedTypeException: Unsupported type: [DECIMAL(10,2)]

Open
#753 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
try to read mysql and write to hdfs in parquet type batch model , mysql have decimal(10,2) type ,if I define this in mysqlreader got Unsupported type error , but if I just define decimal , decimal place lost in parquet,the field type will be decimal(10,0)
if I write to hdfs in orc type, the field type will change to decimal(38,18)

I'm using 1.14_beta with hdp3.1.4, spark3.2.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.