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/04/26 11:57:56 UTC

[GitHub] [superset] SanjaySharma commented on pull request #18921: fix: apply url_params in global async query

SanjaySharma commented on PR #18921:
URL: https://github.com/apache/superset/pull/18921#issuecomment-1109705544

   Hi, I am facing the same kind of issue. I am using the Jinja template variable {{ current_aw_user_id() }} in my queries. 
   my queries is very simple:
   
   SELECT * FROM attendance where id ='{{current_aw_user_id()}}';
   SELECT * FROM user where reporting_to_id ='{{current_aw_user_id()}}';
   
   I am facing the same "Unexpected error" issue.
   <img width="1391" alt="Screenshot 2022-04-21 at 1 34 19 PM" src="https://user-images.githubusercontent.com/1484468/165294149-74d40216-d050-4130-9536-f5d814898495.png">
   
   <img width="1393" alt="Screenshot 2022-04-19 at 3 25 52 PM" src="https://user-images.githubusercontent.com/1484468/165294317-83139e85-5eeb-4a9a-a534-93b0b942d1e4.png">
   <img width="1381" alt="Screenshot 2022-04-19 at 3 26 06 PM" src="https://user-images.githubusercontent.com/1484468/165294341-8523b86b-2965-4fd1-b2c6-9a6705a0b805.png">
   
   what could be the issue, I went through multiple posts but didn't find any solution.


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