carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mayunSaicmotor <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #649: [CARBONDATA-748] put 'if' clause out...
Date Sun, 12 Mar 2017 04:40:16 GMT
Github user mayunSaicmotor commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/649#discussion_r105548693
  
    --- Diff: core/src/test/java/org/apache/carbondata/core/scan/filter/executer/IncludeFilterExecuterImplTest.java
---
    @@ -41,21 +41,20 @@ private BitSet setFilterdIndexToBitSetNew(DimensionColumnDataChunk
dimensionColu
         BitSet bitSet = new BitSet(numerOfRows);
         if (dimensionColumnDataChunk instanceof FixedLengthDimensionDataChunk) {
           // byte[][] filterValues = dimColumnExecuterInfo.getFilterKeys();
    -      for (int i = 0; i < numerOfRows; i++) {
    -
    -        if (filterValues.length > 1) {
    +      if (filterValues.length > 1) {
    +        for (int i = 0; i < numerOfRows; i++) {
               int index = CarbonUtil.binarySearch(filterValues, 0, filterValues.length -
1,
    --- End diff --
    
    removed


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message