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

incorrect projection of null column in hbase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • ghx-label-9

    Description

      – All rows
      select * from functional_hbase.nulltable;
      a,,b,c,d,e,f,g
      a,,NULL,NULL,NULL,ab,

      – All rows that satisfy a predicate
      select * from functional_hbase.nulltable where a = 'a';
      a,,b,c,d,e,f,g
      a,,NULL,NULL,NULL,ab,

      – A null column of the results that satisfy the predicate.
      select d from functional_hbase.nulltable where a = 'a';
      No Results

      Regardless of whether the predicate is pushed down to hbase, we still get no results.
      (force no push by using a complex predicate, e.g., "like")

      The row that satisfies the predicate has been materialized (see the "*" example) so
      projecting d, regardless of its null or not, should yield one record and not an empty result set.

      Against a non-hbase table:
      select d from functional.nulltable where a = 'a';
      a,,b,c,d,e,f,g
      a,,NULL,NULL,NULL,ab,

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vukercegovac Vuk Ercegovac
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: