aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAditya Kishore <aditya@maprtech.com>2014-07-14 02:23:19 -0700
committerJacques Nadeau <jacques@apache.org>2014-07-20 16:30:16 -0700
commitc9242731096fd83315614fcaf11d6ea5c7a28eae (patch)
tree82141d13bcfa034c4375cbe6ae706317c2f239a7 /common
parentc4a82f5ee4f461e85e82c9d8af01756340526db9 (diff)
DRILL-1138: Explicit casting to boolean fails
+ Renamed ConvertUtil to ByteBufUtil
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/apache/drill/common/expression/fn/CastFunctions.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/CastFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/CastFunctions.java
index e6a814f73..4ff796d82 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/CastFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/CastFunctions.java
@@ -29,6 +29,7 @@ public class CastFunctions {
static {
TYPE2FUNC.put(MinorType.BIGINT, "castBIGINT");
TYPE2FUNC.put(MinorType.INT, "castINT");
+ TYPE2FUNC.put(MinorType.BIT, "castBIT");
TYPE2FUNC.put(MinorType.TINYINT, "castTINYINT");
TYPE2FUNC.put(MinorType.FLOAT4, "castFLOAT4");
TYPE2FUNC.put(MinorType.FLOAT8, "castFLOAT8");