You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by js...@apache.org on 2015/05/07 20:02:35 UTC

[3/8] drill git commit: DRILL-1460: part 2 - make convert_fromJSON function consistent with the default reader behavior and do not read all numbers as double.

DRILL-1460: part 2 - make convert_fromJSON function consistent with the default reader behavior and do not read all numbers as double.


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

Branch: refs/heads/master
Commit: b0ac3fb9ff90f01add8c1259d9fba54f12e1539c
Parents: 4fa02c4
Author: Jason Altekruse <al...@gmail.com>
Authored: Thu May 7 07:46:55 2015 -0700
Committer: Jason Altekruse <al...@gmail.com>
Committed: Thu May 7 10:06:23 2015 -0700

----------------------------------------------------------------------
 .../org/apache/drill/exec/expr/fn/impl/conv/JsonConvertFrom.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/b0ac3fb9/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/conv/JsonConvertFrom.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/conv/JsonConvertFrom.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/conv/JsonConvertFrom.java
index bea6e0f..19cbdab 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/conv/JsonConvertFrom.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/conv/JsonConvertFrom.java
@@ -50,7 +50,7 @@ public class JsonConvertFrom {
     @Output ComplexWriter writer;
 
     public void setup(){
-      jsonReader = new org.apache.drill.exec.vector.complex.fn.JsonReader(buffer, false, false, true /* read numbers as doubles */);
+      jsonReader = new org.apache.drill.exec.vector.complex.fn.JsonReader(buffer, false, false, false /* do not read numbers as doubles */);
     }
 
     public void eval(){
@@ -76,7 +76,7 @@ public class JsonConvertFrom {
     @Output ComplexWriter writer;
 
     public void setup(){
-      jsonReader = new org.apache.drill.exec.vector.complex.fn.JsonReader(buffer, false, false, true /* read numbers as doubles */);
+      jsonReader = new org.apache.drill.exec.vector.complex.fn.JsonReader(buffer, false, false, false /* do not read numbers as doubles */);
     }
 
     public void eval(){