Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7784

Partition pruning handles escaped strings incorrectly

    XMLWordPrintableJSON

Details

    Description

      Repro:

      create table tpart (i int) partitioned by (p string)
      insert into tpart partition (p="\"") values (1);
      
      select  * from tpart where p = "\"";
      Result;
      Fetched 0 row(s)
      
      select  * from tpart where p = '"';
      Result:
      1,""""
      
      

      Hive returns the row for both queries.

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              csringhofer Csaba Ringhofer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: