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

SARGs: Type Safety via PredicateLeaf.type

    XMLWordPrintableJSON

Details

    Description

      The Sargs impl today converts the statsObj to the type of the predicate object before doing any comparisons.

      To satisfy the PPD requirements, the conversion has to be coerced to the type specified in PredicateLeaf.type.

      The type conversions in Hive are standard and have a fixed promotion order.

      Therefore the PredicateLeaf has to do type changes which match the exact order of type coercions offered by the FilterOperator.

      Attachments

        1. HIVE-10286.5.patch
          57 kB
          Prasanth Jayachandran
        2. HIVE-10286.4.patch
          56 kB
          Prasanth Jayachandran
        3. HIVE-10286.2.patch
          47 kB
          Prasanth Jayachandran
        4. HIVE-10286.1.patch
          41 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: