aboutsummaryrefslogtreecommitdiff
path: root/exec/jdbc
diff options
context:
space:
mode:
authorMehant Baid <mehantr@gmail.com>2014-08-27 16:47:54 -0700
committerJacques Nadeau <jacques@apache.org>2014-08-27 18:44:09 -0700
commit46de8816f4b197d54d937d0a190bae293c17d1ac (patch)
treed1a3b0daa596e4e071dde0e37f18e4035a4396da /exec/jdbc
parentd8a770fd98be1c1cd4629da98f7dfcb5a775e0ba (diff)
DRILL-1354: Fix date truncate functions to use toString helper functions.
Minor cleanup: move the truncate logic in a separate template
Diffstat (limited to 'exec/jdbc')
-rw-r--r--exec/jdbc/src/test/java/org/apache/drill/jdbc/test/TestFunctionsQuery.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/exec/jdbc/src/test/java/org/apache/drill/jdbc/test/TestFunctionsQuery.java b/exec/jdbc/src/test/java/org/apache/drill/jdbc/test/TestFunctionsQuery.java
index 0e40d11a0..5aee392a0 100644
--- a/exec/jdbc/src/test/java/org/apache/drill/jdbc/test/TestFunctionsQuery.java
+++ b/exec/jdbc/src/test/java/org/apache/drill/jdbc/test/TestFunctionsQuery.java
@@ -539,7 +539,6 @@ public class TestFunctionsQuery {
}
@Test
- @Ignore ("toString on varchar is not supported. date trunc functions seem to be using that")
public void testDateTrunc() throws Exception {
String query = "select "
+ "date_trunc('MINUTE', time '2:30:21.5') as TIME1, "