[ https://issues.apache.org/jira/browse/SPARK-18877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072240#comment-16072240 ]
Navya Krishnappa edited comment on SPARK-18877 at 7/3/17 10:33 AM: ------------------------------------------------------------------- [~dongjoon] I have created parquet bug for the invalid scale issue in Decimal data type. But Parquet team is telling its a Spark issue. Please refer https://issues.apache.org/jira/browse/PARQUET-815 and add your comments. was (Author: navya krishnappa): [~dongjoon] I have created parquet bug the invalid scale issue for Decimal data type. But Parquet team is telling its a Spark issue. Please refer https://issues.apache.org/jira/browse/PARQUET-815 and add your comments. > Unable to read given csv data. Excepion: java.lang.IllegalArgumentException: > requirement failed: Decimal precision 28 exceeds max precision 20 > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SPARK-18877 > URL: https://issues.apache.org/jira/browse/SPARK-18877 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.2 > Reporter: Navya Krishnappa > Assignee: Dongjoon Hyun > Fix For: 2.0.3, 2.1.1, 2.2.0 > > > When reading below mentioned csv data, even though the maximum decimal > precision is 38, following exception is thrown > java.lang.IllegalArgumentException: requirement failed: Decimal precision 28 > exceeds max precision 20 > Decimal > 2323366225312000000000000000 > 24335739714000000 > 23233662253000 > 232336622530000 -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org