cgivre commented on code in PR #2689:
URL: https://github.com/apache/drill/pull/2689#discussion_r1005763509


##########
contrib/udfs/src/test/java/org/apache/drill/exec/udfs/TestNearestDateFunctions.java:
##########
@@ -149,7 +149,7 @@ public void testReadException() throws Exception {
       run(query);
       fail();
     } catch (DrillRuntimeException e) {
-      assertTrue(e.getMessage().contains("[BAD_DATE] is not a valid time 
statement. Expecting: " + 
Arrays.asList(NearestDateUtils.TimeInterval.values())));
+      assertTrue(e.getMessage().contains("[BAD_DATE] is not a valid time 
statement. Expecting: " + 
Arrays.asList(DateConversionUtils.TimeInterval.values())));

Review Comment:
   I was trying to consolidate all the non-core date/time UDFs and their tests 
into fewer classes.  I'll refactor so that's the case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to