aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJinfeng Ni <jni@maprtech.com>2014-06-09 13:02:52 -0700
committerJacques Nadeau <jacques@apache.org>2014-06-16 07:58:08 -0700
commitc789f1c8ace3e12d81ccae05e79e4539cf9c829c (patch)
treebfed836cffcd30f1e1572366d15e7faf180682a2 /common
parentaaaca6a7829733a120018e1388c68672d035820b (diff)
DRILL-935: Run-time code generation support for function which decodes string/varbinary into complex JSON object.
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/apache/drill/common/types/Types.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/org/apache/drill/common/types/Types.java b/common/src/main/java/org/apache/drill/common/types/Types.java
index 10d84e1d1..9280d03ee 100644
--- a/common/src/main/java/org/apache/drill/common/types/Types.java
+++ b/common/src/main/java/org/apache/drill/common/types/Types.java
@@ -349,7 +349,7 @@ public class Types {
case "binary":
return withMode(MinorType.VARBINARY, mode);
case "json":
- return withMode(MinorType.VARBINARY, mode);
+ return withMode(MinorType.LATE, mode);
default:
throw new UnsupportedOperationException("Could not determine type: " + typeName);
}