You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/08 11:18:32 UTC

[GitHub] [superset] zhaoyongjie edited a comment on issue #17628: Bug of filter when operating with dremio

zhaoyongjie edited a comment on issue #17628:
URL: https://github.com/apache/superset/issues/17628#issuecomment-1061670554


   @geido @niyouzhu refer from Dremio Document: https://docs.dremio.com/software/sql-reference/sql-functions/functions/istrue/?parent=boolean
   
   There is a workaround for this case.
   1. create a derived column(calculated column in Superset). the new derived column type is an integer.
   ```SQL
   CASE
     when ISTRUE(IsDeleted) then 1
     else 0
   END
   ```
   
   2. create a select in FilterBox use the derived column instead of original column.
   
   


-- 
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: notifications-unsubscribe@superset.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org