Michael Armbrust created SPARK-2137:
---------------------------------------

             Summary: 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


{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)

Reply via email to