You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/06/13 09:56:02 UTC
[jira] [Created] (SPARK-2137) Timestamp UDFs broken
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)