mcvsubbu commented on a change in pull request #5217: Add tests for VALUEIN
URL: https://github.com/apache/incubator-pinot/pull/5217#discussion_r405020956
 
 

 ##########
 File path: pinot-common/src/test/resources/sql_queries.list
 ##########
 @@ -817,3 +817,19 @@ select COUNT(*) from baseballStats where 
DIV(numberOfGames,10) = 100
 select mapKeys(mapField) from baseballStats where DIV(numberOfGames,10) = 100
 select mapKey(mapField,k1) from baseballStats where DIV(numberOfGames,10) = 100
 select mapKey(mapField,k1) from baseballStats where mapKey(mapField,k1) = 'v1'
+SELECT count(*) FROM Foo GROUP BY VALUEIN(mv_col, 10790, 16344) LIMIT 10
 
 Review comment:
   The equivalent SQL (preserving old behavior of the pql query) will be 
   ```
   SELECT VALUEIN(mv_col, 10790, 16344), count(*) FROM Foo GROUP BY 
VALUEIN(mv_col, 10790, 16344) ORDER BY count(*) DESC LIMIT 10
   ```
   Am I right?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to