You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/06/14 08:30:04 UTC

[jira] [Resolved] (SPARK-2137) Timestamp UDFs broken

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

Reynold Xin resolved SPARK-2137.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
                   1.0.1

> Timestamp UDFs broken
> ---------------------
>
>                 Key: SPARK-2137
>                 URL: https://issues.apache.org/jira/browse/SPARK-2137
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.0
>            Reporter: Michael Armbrust
>            Assignee: Yin Huai
>             Fix For: 1.0.1, 1.1.0
>
>
> {code}
> create table wiki (id int, title string, mod timestamp, text string, username string)
> SELECT year(mod) FROM wiki LIMIT 10
> {code}
> Error:
> {code}
> No matching wrapper found, options: WrappedArray(public org.apache.hadoop.hive.serde2.io.TimestampWritable(byte[],int), public org.apache.hadoop.hive.serde2.io.TimestampWritable(), public org.apache.hadoop.hive.serde2.io.TimestampWritable(org.apache.hadoop.hive.serde2.io.TimestampWritable), public org.apache.hadoop.hive.serde2.io.TimestampWritable(java.sql.Timestamp)).
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)