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

NULL floats don't compare equal to other NULL floats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 3.1.0
    • Backend
    • None

    Description

      FloatVals which are NULL only compare equal to other FloatVals if the float val also matches?

      It's already undefined behavior, but it would be nice to be consistent with other types. From the code:

      bool operator==(const FloatVal& other) const

      { return is_null == other.is_null && val == other.val; }

      Attachments

        Activity

          People

            poojanilangekar Pooja Nilangekar
            zamsden_impala_ad21 Zachary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: