Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13554 [Umbrella] SQL:2011 compliance
  3. HIVE-15939

Make cast expressions comply more to sql2011

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • SQL
    • None

    Description

      in HIVE-6590 Jason have uncovered the fact that UDFToBoolean treats all non-empty strings as true.

      It would be great to have the cast expressions closer to the standard...at least when there is an expected behaviour from the user;

      like cast('false' as boolean) should be true.

      Attachments

        1. HIVE-15939.07.patch
          54 kB
          Zoltan Haindrich
        2. HIVE-15939.1.patch
          35 kB
          Teddy Choi
        3. HIVE-15939.2.patch
          34 kB
          Teddy Choi
        4. HIVE-15939.3.patch
          35 kB
          Teddy Choi
        5. HIVE-15939.4.patch
          29 kB
          Teddy Choi
        6. HIVE-15939.5.patch
          29 kB
          Teddy Choi
        7. HIVE-15939.6.patch
          34 kB
          Zoltan Haindrich

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: