Skip to content

Commit

Permalink
Changed match expression just like true expression so that it always …
Browse files Browse the repository at this point in the history
…returns true for row level executor in executors
  • Loading branch information
ravipesala committed Feb 27, 2018
1 parent 65a47fc commit 255651d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.apache.carbondata.datamap.expression;

import org.apache.carbondata.common.annotations.InterfaceAudience;
import org.apache.carbondata.core.metadata.datatype.DataTypes;
import org.apache.carbondata.core.scan.expression.Expression;
import org.apache.carbondata.core.scan.expression.ExpressionResult;
import org.apache.carbondata.core.scan.expression.exception.FilterIllegalMemberException;
Expand All @@ -36,7 +37,7 @@ public MatchExpression(String queryString) {
@Override
public ExpressionResult evaluate(RowIntf value)
throws FilterUnsupportedException, FilterIllegalMemberException {
return null;
return new ExpressionResult(DataTypes.BOOLEAN,true);
}

@Override
Expand Down

0 comments on commit 255651d

Please sign in to comment.