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/02/22 07:37:26 UTC

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

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


   > Hello @niyouzhu which Superset version are you running?
   
   @geido the root cause should be the syntax IN(0) cannot run on dremio, the correct syntax is IN('0') or IN(true), just like this:
   
   SELECT DATE_TRUNC('day', "CreationTime") AS __timestamp,
          "AppUserId" AS "AppUserId",
          "WxUserId" AS "WxUserId",
          "UserName" AS "UserName",
          "Surname" AS "Surname",
          "Name" AS "Name",
          "IsExternal" AS "IsExternal",
          "IsDeleted" AS "IsDeleted",
          "PhoneNumber" AS "PhoneNumber",
          "Email" AS "Email",
          COUNT(*) AS "count"
   FROM "SSO"."Prod"."UsersWithWx"
   WHERE "IsDeleted" **IN (false)**
   GROUP BY "AppUserId",
            "WxUserId",
            "UserName",
            "Surname",
            "Name",
            "IsExternal",
            "IsDeleted",
            "PhoneNumber",
            "Email",
            DATE_TRUNC('day', "CreationTime")
   LIMIT 10000; 


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