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

ORC SARG creation fails with NPE for predicate conditions with decimal/date/char/varchar datatypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • None

    Description

      When decimal or date column is used, the type field in PredicateLeafImpl will be set to null. This will result in NPE during predicate leaf generation because of null dereferencing in hashcode computation. SARG creation should be extended to support/handle decimal and date data types.

      Attachments

        1. HIVE-5950.1.patch
          135 kB
          Prasanth Jayachandran
        2. HIVE-5950.2.patch
          120 kB
          Prasanth Jayachandran
        3. HIVE-5950.3.patch
          122 kB
          Prasanth Jayachandran
        4. HIVE-5950.4.patch
          123 kB
          Prasanth Jayachandran
        5. HIVE-5950.5.patch
          122 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              prasanth_j Prasanth Jayachandran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: