Github user kevinjmh commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2767#discussion_r221123795
--- Diff: core/src/main/java/org/apache/carbondata/core/datamap/DataMapChooser.java ---
@@ -282,7 +280,9 @@ private void extractColumnExpression(Expression expression,
List<Expression> children = expression.getChildren();
if (children != null && children.size() > 0) {
for (Expression exp : children) {
- extractColumnExpression(exp, columnExpressions);
+ if (exp != null && exp.getFilterExpressionType() != ExpressionType.UNKNOWN) {
--- End diff --
I'am not sure whether any **other** expression exists like SparkUnknownExpression( which is under EqualToExpression/InExpression and has a child of ColumnExpression )
---