Hive
  1. Hive
  2. HIVE-3048

Collect_set Aggregate does uneccesary check for value.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      Sets already de-duplicate for free no need for existence check.

           private void putIntoSet(Object p, MkArrayAggregationBuffer myagg) {
            if (myagg.container.contains(p))
              return;
             Object pCopy = ObjectInspectorUtils.copyToStandardObject(p,
                 this.inputOI);
             myagg.container.add(pCopy);
      
      1. HIVE-3048.patch.1.txt
        0.6 kB
        Edward Capriolo

        Activity

        Edward Capriolo created issue -
        Edward Capriolo made changes -
        Field Original Value New Value
        Attachment HIVE-3048.patch.1.txt [ 12528777 ]
        Edward Capriolo made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.8.1 [ 12319268 ]
        Ashutosh Chauhan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.10.0 [ 12320745 ]
        Resolution Fixed [ 1 ]
        Ashutosh Chauhan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Edward Capriolo
            Reporter:
            Edward Capriolo
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development