Mxdcq opened a new issue #10236:
URL: https://github.com/apache/druid/issues/10236


   Hi, I face a situation where I am not allowed to use SQL syntax to implement 
"case when". 
   
   1) Therefore, I would like to know if it is possible to do the following 
"case when" by native queries?
   `sum(case when column_A = value_one then column_B when column_A = value_two 
then column_C else column_D end)`
   2) If the answer if "Yes", please give a sample example!
   
   Thanks in advance.


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



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

Reply via email to