private static Boolean startComparisonInEqualNode(final List<String> skewedCols,
      final List<String> cell, final List<List<String>> uniqSkewedValues, Boolean result,
      ExprNodeDesc left, ExprNodeDesc right) throws SemanticException {
    String columnNameInFilter = ((ExprNodeColumnDesc) left).getColumn();
    String constantValueInFilter = ((ExprNodeConstantDesc) right).getValue().toString();
    assert (skewedCols.contains(columnNameInFilter)) : "List bucketing pruner has a column name "
        + columnNameInFilter
        + " which is not found in the partition's skewed column list";
    int index = skewedCols.indexOf(columnNameInFilter);
    assert (index < cell.size()) : "GenericUDFOPEqual has a ExprNodeColumnDesc ("
        + columnNameInFilter + ") which is " + index + "th" + "skewed column. "
        + " But it can't find the matching part in cell." + " Because the cell size is "
        + cell.size();
    String cellValueInPosition = cell.get(index);
    assert (index < uniqSkewedValues.size()) : "GenericUDFOPEqual has a ExprNodeColumnDesc ("
        + columnNameInFilter + ") which is " + index + "th" + "skewed column. "
        + " But it can't find the matching part in uniq skewed value list."
        + " Because the cell size is "
        + uniqSkewedValues.size();
    List<String> uniqSkewedValuesInPosition = uniqSkewedValues.get(index);
    result = coreComparisonInEqualNode(constantValueInFilter, cellValueInPosition,
        uniqSkewedValuesInPosition);
    return result;
  }
Comparison in equal node

@param skewedCols
@param cell
@param uniqSkewedValues
@param result
@param left
@param right
@return
@throws SemanticException
ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/ListBucketingPrunerUtils.java