Repository: drill
Updated Branches:
refs/heads/master c56de2f13 -> acc5ed927
http://git-wip-us.apache.org/repos/asf/drill/blob/acc5ed92/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/RepeatedMapVector.java
----------------------------------------------------------------------
diff --git a/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/RepeatedMapVector.java
b/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/RepeatedMapVector.java
index ae1f0b1..6b29258 100644
--- a/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/RepeatedMapVector.java
+++ b/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/RepeatedMapVector.java
@@ -54,7 +54,6 @@ import com.google.common.collect.Maps;
public class RepeatedMapVector extends AbstractMapVector
implements RepeatedValueVector, RepeatedFixedWidthVectorLike {
- //private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(RepeatedMapVector.class);
public final static MajorType TYPE = MajorType.newBuilder().setMinorType(MinorType.MAP).setMode(DataMode.REPEATED).build();
@@ -425,9 +424,6 @@ public class RepeatedMapVector extends AbstractMapVector
@Override
public DrillBuf[] getBuffers(boolean clear) {
- //final int expectedBufferSize = getBufferSize();
- //final int actualBufferSize = super.getBufferSize();
- //Preconditions.checkArgument(expectedBufferSize == actualBufferSize + offsets.getBufferSize());
return ArrayUtils.addAll(offsets.getBuffers(clear), super.getBuffers(clear));
}
http://git-wip-us.apache.org/repos/asf/drill/blob/acc5ed92/logical/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
----------------------------------------------------------------------
diff --git a/logical/src/test/java/org/apache/drill/storage/CheckStorageConfig.java b/logical/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
index 090b8f4..c628783 100644
--- a/logical/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
+++ b/logical/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
@@ -27,7 +27,7 @@ import org.apache.drill.common.logical.LogicalPlan;
import org.apache.drill.common.logical.StoragePluginConfig;
import org.apache.drill.common.scanner.ClassPathScanner;
import org.apache.drill.common.scanner.persistence.ScanResult;
-import org.apache.drill.common.util.FileUtils;
+import org.apache.drill.common.util.DrillFileUtils;
import org.apache.drill.test.DrillTest;
import org.junit.Test;
@@ -46,6 +46,6 @@ public class CheckStorageConfig extends DrillTest {
public void checkPlanParsing() throws Exception{
DrillConfig config = DrillConfig.create();
ScanResult scan = ClassPathScanner.fromPrescan(config);
- LogicalPlan plan = LogicalPlan.parse(new LogicalPlanPersistence(config, scan), FileUtils.getResourceAsString("/storage_engine_plan.json"));
+ LogicalPlan plan = LogicalPlan.parse(new LogicalPlanPersistence(config, scan), DrillFileUtils.getResourceAsString("/storage_engine_plan.json"));
}
}
|