Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20617

Fix type of constants in IN expressions to have correct type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      In statements like struct(a,b) IN (const struct('x','y'), ... ) the comparision in UDFIn may fail because if a or b is of char/varchar type the constants will retain string type - especially after PointlookupOptimizer compaction.

      Attachments

        1. HIVE-20617.18.patch
          300 kB
          Zoltan Haindrich
        2. HIVE-20617.17.patch
          312 kB
          Zoltan Haindrich
        3. HIVE-20617.16.patch
          265 kB
          Zoltan Haindrich
        4. HIVE-20617.16.patch
          265 kB
          Zoltan Haindrich
        5. HIVE-20617.15.patch
          262 kB
          Zoltan Haindrich
        6. HIVE-20617.14.patch
          236 kB
          Zoltan Haindrich
        7. HIVE-20617.13.patch
          236 kB
          Zoltan Haindrich
        8. HIVE-20617.12.patch
          204 kB
          jcamachorodriguez
        9. HIVE-20617.11.patch
          212 kB
          Zoltan Haindrich
        10. HIVE-20617.11.patch
          212 kB
          Zoltan Haindrich
        11. HIVE-20617.10.patch
          212 kB
          Zoltan Haindrich
        12. HIVE-20617.10.patch
          212 kB
          Zoltan Haindrich
        13. HIVE-20617.09.patch
          186 kB
          Zoltan Haindrich
        14. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        15. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        16. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        17. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        18. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        19. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        20. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        21. HIVE-20617.08.patch
          171 kB
          Zoltan Haindrich
        22. HIVE-20617.07.patch
          154 kB
          Zoltan Haindrich
        23. HIVE-20617.06.patch
          56 kB
          Zoltan Haindrich
        24. HIVE-20617.05.patch
          54 kB
          Zoltan Haindrich
        25. HIVE-20617.03.patch
          37 kB
          Zoltan Haindrich
        26. HIVE-20617.02.patch
          35 kB
          Zoltan Haindrich
        27. HIVE-20617.01.patch
          28 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: