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

Timestamp UDFs broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: SQL
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: