Mayank
if (AggregationFunctionUtils.isDistinct(functionContexts)) {
// handle distinct (col1, col2..) function
// unlike other aggregate functions, distinct can work on multiple columns
// so we need to build expression tree for each column
_functions[0] = functionContexts[0].getAggregationFunction();
_resultHolders[0] = _functions[0].createAggregationResultHolder();
List<String> expressions = functionContexts[0].getExpressions();
_expressions = new TransformExpressionTree[expressions.size()];
for (int i = 0; i < _expressions.length; i++) {
_expressions[i] = TransformExpressionTree.compileToExpressionTree(expressions.get(i));
}