LakshSingla commented on PR #15300:
URL: https://github.com/apache/druid/pull/15300#issuecomment-1789574932

   @gianm 
   * You can check out the `ClientQuerySegmentWalkerTest` to test out the 
native query as is.
   * Alternatively, I found a SQL query that will fail with the desired error 
in the `CalciteSubqueryTest`
   
   ``` SQL
   SELECT CASE WHEN dim1 = 'abc' THEN 1 ELSE 0 END AS dim1Modified 
   FROM (SELECT dim1 FROM druid.foo GROUP BY dim1)
   WHERE dim1 IN (SELECT dim1 FROM druid.foo GROUP BY dim1)
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to