You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ja...@apache.org on 2014/06/06 04:52:26 UTC

[09/23] git commit: DRILL-908: NullableValueVector bug causes all values pulled out to be reported as non-null

DRILL-908: NullableValueVector bug causes all values pulled out to be reported as non-null


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

Branch: refs/heads/master
Commit: ce007db51d6bf57ad081d39d615c071ba8f4540c
Parents: c7bdf57
Author: Jason Altekruse <al...@gmail.com>
Authored: Wed Jun 4 18:28:38 2014 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Wed Jun 4 19:01:41 2014 -0700

----------------------------------------------------------------------
 .../java-exec/src/main/codegen/templates/NullableValueVectors.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/ce007db5/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java b/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
index fd15e79..ce17418 100644
--- a/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
@@ -335,8 +335,8 @@ public final class ${className} extends BaseValueVector implements <#if type.maj
     }
     
     public void get(int index, Nullable${minor.class}Holder holder){
-      holder.isSet = bits.getAccessor().get(index);
       values.getAccessor().get(index, holder);
+      holder.isSet = bits.getAccessor().get(index);
 
       <#if minor.class.startsWith("Decimal")>
       holder.scale = getField().getScale();