carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipes...@apache.org
Subject [1/2] incubator-carbondata git commit: Fixed null filter issue
Date Wed, 15 Mar 2017 12:22:28 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 0ba07adaa -> d124a55d6


Fixed null filter issue


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/bfc7e64f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/bfc7e64f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/bfc7e64f

Branch: refs/heads/master
Commit: bfc7e64fed9329531b96b12d772e6714ba42ba22
Parents: 0ba07ad
Author: kumarvishal <kumarvishal.1802@gmail.com>
Authored: Wed Mar 15 20:08:19 2017 +0800
Committer: kumarvishal <kumarvishal.1802@gmail.com>
Committed: Wed Mar 15 20:08:19 2017 +0800

----------------------------------------------------------------------
 .../resolver/resolverinfo/visitor/DictionaryColumnVisitor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/bfc7e64f/core/src/main/java/org/apache/carbondata/core/scan/filter/resolver/resolverinfo/visitor/DictionaryColumnVisitor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/carbondata/core/scan/filter/resolver/resolverinfo/visitor/DictionaryColumnVisitor.java
b/core/src/main/java/org/apache/carbondata/core/scan/filter/resolver/resolverinfo/visitor/DictionaryColumnVisitor.java
index b4812be..c9e93f5 100644
--- a/core/src/main/java/org/apache/carbondata/core/scan/filter/resolver/resolverinfo/visitor/DictionaryColumnVisitor.java
+++ b/core/src/main/java/org/apache/carbondata/core/scan/filter/resolver/resolverinfo/visitor/DictionaryColumnVisitor.java
@@ -59,7 +59,7 @@ public class DictionaryColumnVisitor implements ResolvedFilterInfoVisitorIntf
{
       // first check of surrogate key for null value is already added then
       // no need to add again otherwise result will be wrong in case of exclude filter
       // this is because two times it will flip the same bit
-      if (resolvedFilterObject.getFilterList()
+      if (!resolvedFilterObject.getFilterList()
           .contains(CarbonCommonConstants.MEMBER_DEFAULT_VAL_SURROGATE_KEY)) {
         resolvedFilterObject.getFilterList()
             .add(CarbonCommonConstants.MEMBER_DEFAULT_VAL_SURROGATE_KEY);


Mime
View raw message