Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5648

error when casting partition column to varchar in where clause

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      hive> select * from partition_varchar_2 where cast(dt as varchar(10)) = '2000-01-01';
      FAILED: RuntimeException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Internal error: Cannot find ObjectInspector for VARCHAR

        Attachments

        1. HIVE-5648.1.patch
          5 kB
          Jason Dere
        2. HIVE-5648.2.patch
          14 kB
          Jason Dere

          Activity

            People

            • Assignee:
              jdere Jason Dere
              Reporter:
              jdere Jason Dere
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: