diff options
author | Jinfeng Ni <jni@maprtech.com> | 2014-06-09 13:02:52 -0700 |
---|---|---|
committer | Jacques Nadeau <jacques@apache.org> | 2014-06-16 07:58:08 -0700 |
commit | c789f1c8ace3e12d81ccae05e79e4539cf9c829c (patch) | |
tree | bfed836cffcd30f1e1572366d15e7faf180682a2 /common | |
parent | aaaca6a7829733a120018e1388c68672d035820b (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.java | 2 |
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); } |