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

Hive Table filter Not working (ERROR:SemanticException MetaException)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.0
    • Component/s: CLI
    • Labels:
      None

      Description

      hive -e "select * from xxxx where year=2013 and month=11 and day=05 and hour=22"
      Logging initialized using configuration in jar:file:/usr/lib/hive/lib/hive-common-0.12.0.jar!/hive-log4j.properties
      FAILED: SemanticException MetaException(message:Filtering is supported only on partition keys of type string)

      and I able to execute the hive -e "select * from xxxx limit 3"

      I'm upgraded the Hive from 0.10 to 0.12 and it works in Hive 0.10 .

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Ashok Kumar D ashok Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: