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

ClassCastException caused by wrong Vectorized operator selection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Vectorization
    • None
    • Important

    Description

      VectorMapJoinOuterFilteredOperator does not currently support full outer joins but using the current Vectorizer logic it can be selected when a there is a filter involved. This can make queries fail with ClassCastException when their data and metadata in the VectorMapJoinOuterFilteredOperator do not match.

      The query attached demonstrates the issue and the log attached shows the java.lang.ClassCastException

      Attachments

        1. vectorized_join.q
          3 kB
          Panagiotis Garefalakis
        2. query_vector_explain.out
          41 kB
          Panagiotis Garefalakis
        3. query_error.out
          20 kB
          Panagiotis Garefalakis
        4. HIVE-22505.patch
          49 kB
          Panagiotis Garefalakis
        5. HIVE-22505.7.patch
          94 kB
          Panagiotis Garefalakis
        6. HIVE-22505.6.patch
          94 kB
          Panagiotis Garefalakis
        7. HIVE-22505.5.patch
          94 kB
          Panagiotis Garefalakis
        8. HIVE-22505.4.patch
          94 kB
          Panagiotis Garefalakis
        9. HIVE-22505.3.patch
          94 kB
          Panagiotis Garefalakis
        10. HIVE-22505.2.patch
          49 kB
          Panagiotis Garefalakis

        Activity

          People

            pgaref Panagiotis Garefalakis
            pgaref Panagiotis Garefalakis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: