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

Herman van Hovell commented on SPARK-14591:
-------------------------------------------

I think it is still used in a couple of places. The are a few differences 
between the two:
# The CatalystSqlParser family doesn't allow the use of keywords as column 
names;
# The CatalystSqlParser family is more lenient with the use of backticks in 
column names (as long as you escape them properly);
# The CatalystSqlParser family allows you the define struct columns without ':' 
between the name and the data type.

So we can remove it as long as the first point is not an issue.

The problem we are having with {{decimal(precision)}} in the hive's 
{{decimal_1}} test might have to do with the fact that datatypes in CTAS are 
not really parsed. Their string value is just passed in to a catalog column.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to