Hive
  1. Hive
  2. HIVE-2551

Rules for comparison between bigint vs float and double are strongly inconsistent. Sometimes those comparisons fail, even in strict mode, and without any warning.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The situation is described by a test case, soon to be attached.

      1. HIVE-2551.1.test
        11 kB
        Robert Surówka

        Activity

        Robert Surówka created issue -
        Hide
        jiraposter@reviews.apache.org added a comment -

        -----------------------------------------------------------
        This is an automatically generated e-mail. To reply, visit:
        https://reviews.apache.org/r/2729/
        -----------------------------------------------------------

        Review request for Ning Zhang and Kevin Wilfong.

        Summary
        -------

        As in summary.

        This addresses bug HIVE-2551.
        https://issues.apache.org/jira/browse/HIVE-2551

        Diffs


        trunk/ql/src/test/queries/clientpositive/primitive_type_conversion1.q PRE-CREATION
        trunk/ql/src/test/results/clientpositive/primitive_type_conversion1.q.out PRE-CREATION

        Diff: https://reviews.apache.org/r/2729/diff

        Testing
        -------

        Thanks,

        Robert

        Show
        jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2729/ ----------------------------------------------------------- Review request for Ning Zhang and Kevin Wilfong. Summary ------- As in summary. This addresses bug HIVE-2551 . https://issues.apache.org/jira/browse/HIVE-2551 Diffs trunk/ql/src/test/queries/clientpositive/primitive_type_conversion1.q PRE-CREATION trunk/ql/src/test/results/clientpositive/primitive_type_conversion1.q.out PRE-CREATION Diff: https://reviews.apache.org/r/2729/diff Testing ------- Thanks, Robert
        Robert Surówka made changes -
        Field Original Value New Value
        Attachment HIVE-2551.1.test [ 12502531 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Surówka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development