gortiz commented on code in PR #15277:
URL: https://github.com/apache/pinot/pull/15277#discussion_r2003066269


##########
pinot-query-planner/src/test/java/org/apache/pinot/query/QueryCompilationTest.java:
##########
@@ -439,51 +439,51 @@ public void testWindowFunctions() {
         "SELECT col1, col2, SUM(col3) OVER (PARTITION BY col1 ORDER BY col3 
RANGE BETWEEN UNBOUNDED PRECEDING AND 1 "
             + "FOLLOWING) FROM a";
     e = expectThrows(RuntimeException.class, () -> 
_queryEnvironment.planQuery(sumQueryWithCustomRangeWindow));
-    assertTrue(e.getCause().getCause().getMessage()
+    assertTrue(e.getCause().getMessage()

Review Comment:
   Before the exception that was thrown was an ExecutionException whose cause 
was the actual exception. Now we get rid of the ExecutionException and 
therefore we should not call `getCause`



-- 
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: commits-unsubscr...@pinot.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to