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

Bridge cases in which Calcite's type resolution is more stricter than Hive.

    XMLWordPrintableJSON

Details

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

    Description

      Calcite is more stricter w.r.t common types than Hive.

      For example in case a CASE with different types on the branches is not something Calcite likes:

      CASE
        WHEN cond1 THEN booleanCol
        WHEN cond2 THEN stringCol
        WHEN cond3 THEN floatCol
        ELSE doubleCol
      END
      

      issues will only happen with 1.18-SNAPSHOT version

      Attachments

        1. HIVE-20940.01.patch
          3 kB
          Zoltan Haindrich
        2. HIVE-20940.01.patch
          3 kB
          Zoltan Haindrich
        3. HIVE-20940.02.patch
          7 kB
          Zoltan Haindrich
        4. HIVE-20940.03.patch
          7 kB
          Zoltan Haindrich
        5. HIVE-20940.04.patch
          7 kB
          Zoltan Haindrich
        6. HIVE-20940.04.patch
          7 kB
          Zoltan Haindrich
        7. HIVE-20940.04.patch
          7 kB
          Zoltan Haindrich
        8. HIVE-20940.90.patch
          1 kB
          Zoltan Haindrich
        9. HIVE-20940.91.patch
          98 kB
          Zoltan Haindrich
        10. HIVE-20940.93.patch
          109 kB
          Zoltan Haindrich

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: