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

Aggregate Commands on HBase Table Omit Null Values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • None
    • None

    Description

      We have an HBase-backed impala table, which has a string column (for the purpose of this jira, sCol)

      There are records where that column is null, which we can observe with queries like select * from table where sCol is null limit 1

      However, when we run these commands, we get bad results:

      -- Returns 0
      select count(*) from table where sCol is null;
      -- Returns only rows for string values (we only have a few options in this case), no row for null
      select sCol, count(*) from table group by sCol
      

      These commands work as expected on parquet-backed tables. They also do not work in Impala, where I will filed jira IMPALA-8152.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jackowaya Alan Jackoway
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: