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

COMPUTE INCREMENTAL STATS sets num_nulls off-by-one

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 3.2.0
    • Fix Version/s: Impala 3.3.0
    • Component/s: Backend
    • Labels:
      None

      Description

      IMPALA-7659 added the population of NULL counts while computing stats, but this functionality isn't working properly for incremental stats. The query is produced correctly, but the null count set in the table is one lower than it should be. In the case that the table has no nulls, this ends up setting a '-1' count, which is interpreted as 'unknown'. In the case that there are nulls, we'll just be a little inaccurate.

        Attachments

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: