diff options
author | Mehant Baid <mehantr@gmail.com> | 2015-05-09 13:36:05 -0700 |
---|---|---|
committer | Mehant Baid <mehantr@gmail.com> | 2015-05-10 11:30:33 -0700 |
commit | 4e596334ea660b7261e0b4d83e929553c03856ff (patch) | |
tree | 1ebbd0ef027dcd35e6a25250039aaba7e7e72d87 /exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java | |
parent | e0070e2db2c718318e2f0b0b47ecbabba6a2af53 (diff) |
DRILL-2870: Part2 - Fix return type of aggregate functions to be nullable
Diffstat (limited to 'exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java')
-rw-r--r-- | exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java index 39253703b..d39df8f17 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinUtils.java @@ -178,7 +178,7 @@ public class JoinUtils { // currently we only support implicit casts if the input types are numeric or varchar/varbinary if (!allowImplicitCast(rightType, leftType)) { throw new DrillRuntimeException(String.format("Join only supports implicit casts between " + - "1. Numeric data\n 2. Varchar, Varbinary data " + + "1. Numeric data\n 2. Varchar, Varbinary data 3. Date, Timestamp data " + "Left type: %s, Right type: %s. Add explicit casts to avoid this error", leftType, rightType)); } |