Hive
  1. Hive
  2. HIVE-1794

GenericUDFOr and GenericUDFAnd cannot receive boolean typed object

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If a UDF returns Java's native boolean and passed into a logic AND or OR. The execution will break.

        Activity

        Siying Dong created issue -
        Siying Dong made changes -
        Field Original Value New Value
        Assignee Siying Dong [ sdong ]
        Hide
        Siying Dong added a comment -

        1. Fix the issue that Or and And cannot accept java's boolean
        2. add unit tests covering and, or and not accepting java's boolean
        3. add unit tests to cover = and <> to accept Java's string.

        Show
        Siying Dong added a comment - 1. Fix the issue that Or and And cannot accept java's boolean 2. add unit tests covering and, or and not accepting java's boolean 3. add unit tests to cover = and <> to accept Java's string.
        Siying Dong made changes -
        Attachment HIVE-1794.1.patch [ 12459686 ]
        Siying Dong made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Namit Jain added a comment -

        +1

        running tests

        Show
        Namit Jain added a comment - +1 running tests
        Hide
        Namit Jain added a comment -

        Committed. Thanks Siying

        Show
        Namit Jain added a comment - Committed. Thanks Siying
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Carl Steinbach made changes -
        Fix Version/s 0.7.0 [ 12315150 ]
        Carl Steinbach made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3h 13m 1 Siying Dong 16/Nov/10 07:25
        Patch Available Patch Available Resolved Resolved
        14h 25m 1 Namit Jain 16/Nov/10 21:50
        Resolved Resolved Closed Closed
        395d 2h 8m 1 Carl Steinbach 16/Dec/11 23:59

          People

          • Assignee:
            Siying Dong
            Reporter:
            Siying Dong
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development