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

Query against partitioned table in strict mode failed with "No partition predicate found" even if partition predicate is specified.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      The following queries fail:

      create table t1 (c1 int) PARTITIONED BY (c2 string);
      
      set hive.mapred.mode=strict;
      select * from t1 where t1.c2 < to_date(date_add(from_unixtime( unix_timestamp() ),1));
      

      The query failed with "No partition predicate found for alias t1".

      Attachments

        1. HIVE-10454.2.patch
          9 kB
          Aihua Xu
        2. HIVE-10454.patch
          8 kB
          Aihua Xu

        Activity

          People

            aihuaxu Aihua Xu
            aihuaxu Aihua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: