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

parquet-reader always prints "Rows: 0"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.7.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      $ grep num_rows be/src/util/parquet-reader.cc
      int num_rows = 0;
      << " Rows: " << num_rows << endl

      The variable just never gets written to.

        Activity

        Hide
        lv Lars Volker added a comment -

        IMPALA-4640: Fix number of rows displayed by parquet-reader tool

        The variable just never got updated in the code. This change also adds
        verification that all columns contain the same number of rows.

        Change-Id: I281a784a0aa2df4ed1852dfb864587a0c1aa4d9a
        Reviewed-on: http://gerrit.cloudera.org:8080/5453
        Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
        Reviewed-by: Alex Behm <alex.behm@cloudera.com>
        Tested-by: Internal Jenkins

        Show
        lv Lars Volker added a comment - IMPALA-4640 : Fix number of rows displayed by parquet-reader tool The variable just never got updated in the code. This change also adds verification that all columns contain the same number of rows. Change-Id: I281a784a0aa2df4ed1852dfb864587a0c1aa4d9a Reviewed-on: http://gerrit.cloudera.org:8080/5453 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins

          People

          • Assignee:
            lv Lars Volker
            Reporter:
            lv Lars Volker
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development