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

Impala*Writable methods are not overridden to handle the heap-stored values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.3.0
    • None
    • Frontend
    • None
    • ghx-label-4

    Description

      Impala writable types are extending Hive's writable types but their real values are stored on the native heap, therefore every method that is coming from their parents should be overridden with an explicit get() which does an indirection through UnsafeUtils to the heap.

      For example; ImpalaDoubleWritable's toString is used in a UDF, but since there's no override present in the class, the original value from the Hive class will be stringified and returned, which is, in Impala's case always will be a zero-initialized value.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prozsa Peter Rozsa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: