spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davies Liu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-17388) Support for inferring type date/timestamp/decimal for partition column
Date Tue, 18 Oct 2016 20:21:58 GMT

     [ https://issues.apache.org/jira/browse/SPARK-17388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davies Liu resolved SPARK-17388.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

Issue resolved by pull request 14947
[https://github.com/apache/spark/pull/14947]

> Support for inferring type date/timestamp/decimal for partition column
> ----------------------------------------------------------------------
>
>                 Key: SPARK-17388
>                 URL: https://issues.apache.org/jira/browse/SPARK-17388
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Hyukjin Kwon
>             Fix For: 2.1.0
>
>
> Currently, Spark only supports to infer {{IntegerType}}, {{LongType}}, {{DoubleType}}
and {{StringType}}.
> {{DecimalType}} is being tried but it seems it never infers type as {{DecimalType}} as
{{DoubleType}} is being tried first.
> Also, {{DateType}} and {{TimestampType}} can be inferred. It seems it is a pretty common
to use both for a partition column.
> It'd be great if they can be inferred as both rather than just {{StringType}}.



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

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


Mime
View raw message