Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2137

Timestamp UDFs broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • SQL
    • None

    Description

      create table wiki (id int, title string, mod timestamp, text string, username string)
      SELECT year(mod) FROM wiki LIMIT 10
      

      Error:

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

      Attachments

        Issue Links

          Activity

            People

              yhuai Yin Huai
              marmbrus Michael Armbrust
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: