carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvramana <>
Subject [GitHub] incubator-carbondata pull request #641: [CARBONDATA-767] Alter table support...
Date Tue, 14 Mar 2017 17:31:04 GMT
Github user gvramana commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/filter/resolver/resolverinfo/visitor/
    @@ -45,7 +47,15 @@ public void populateFilterResolvedInfo(DimColumnResolvedFilterInfo
         DimColumnFilterInfo resolvedFilterObject = null;
         List<String> evaluateResultListFinal;
         try {
    -      evaluateResultListFinal = metadata.getExpression().evaluate(null).getListAsString();
    +      ExpressionResult result = metadata.getExpression().evaluate(null);
    --- End diff --
    if need to check only is null scenario, use expression.isInstanceOf[EqualToExpresson].isNull

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message