Jackie-Jiang commented on a change in pull request #8378:
URL: https://github.com/apache/pinot/pull/8378#discussion_r832551684



##########
File path: 
pinot-broker/src/test/java/org/apache/pinot/broker/requesthandler/LiteralOnlyBrokerRequestTest.java
##########
@@ -94,6 +94,15 @@ public void testLiteralOnlyTransformBrokerRequestFromSQL() {
         .compileToPinotQuery("SELECT ago('PT1H'), fromDateTime('2020-01-01 
UTC', 'yyyy-MM-dd z') FROM myTable")));
     Assert.assertFalse(BaseBrokerRequestHandler
         .isLiteralOnlyQuery(CalciteSqlParser.compileToPinotQuery("SELECT 
count(*) from foo where bar > ago('PT1H')")));
+    
Assert.assertTrue(BaseBrokerRequestHandler.isLiteralOnlyQuery(CalciteSqlParser

Review comment:
       Sorry, I merged the PR too soon. @jasperjiaguo Can you please address 
Sidd's comments in a separate PR?




-- 
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