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

CatalogdMetaProvider using bad TUnit for profile counters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • ghx-label-6

    Description

      CatalogdMetaProvider is using a TUnit value of TUnit.NONE for several runtime profile counters:

      https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java#L554-L558

      and

      https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java#L387

      TUnit.UNIT would be a better choice here and the use of TUnit.NONE may break existing profile readers which won't expect this value for a numerical counter.  The appropriate set of TUnit types to maximize reader compatibility is described in IMPALA-8236.

      Attachments

        Activity

          People

            Unassigned Unassigned
            drorke David Rorke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: