[ 
https://issues.apache.org/jira/browse/SPARK-14591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238708#comment-15238708
 ] 

Yin Huai commented on SPARK-14591:
----------------------------------

OK. Thanks. I found it while looking at the test of 
https://github.com/apache/spark/pull/12271. Originally, we are using 
HiveMetasorteTypes.toDataType (it uses the old DataTypeParser), so we hit this 
decimal(5) issue. We have chnaged it to use CatalystSqlParser 
(https://github.com/apache/spark/pull/12271/commits/a60e66a71dec96973043ec62e2b6d4213c5add2c).

> DDLParser should accept decimal(precision)
> ------------------------------------------
>
>                 Key: SPARK-14591
>                 URL: https://issues.apache.org/jira/browse/SPARK-14591
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Yin Huai
>
> Right now, our DDLParser does not support {{decimal(precision)}} (the scale 
> will be set to 0). We should support it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to