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

Investigate whether Impala's frontend could still use the statistics for an empty table with greater-than-zero file size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • None
    • ghx-label-10

    Description

      In IMPALA-11666, it has been shown that it's possible to create a transactional ORC table with 0 row but greater-than-zero file size even though there is no corrupt statistics.

      Impala's frontend in this case would compute an estimated number of rows instead of using the accurate number of rows (i.e., 0) in HdfsScanNode()#getStatsNumRows(). As a result, the returned number of rows is not accurate.

      It would be good if Impala's frontend could determine whether or not there is indeed corrupt statistics associated with a table when its number of row is 0 and its associated file size is greater than 0.

      Attachments

        Activity

          People

            fangyurao Fang-Yu Rao
            fangyurao Fang-Yu Rao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: