mishafeingold commented on issue #25786:
URL: https://github.com/apache/superset/issues/25786#issuecomment-1802230182

   Same fetal error is happening for us. We upgraded from 2.1.0 to 3.0.1 and we 
noticed the template variables are not being translated correctly. In the 
superset logs it appears Superset is literally sending the braces to the 
database instead of updating the query with the parameters set:
   ```
   DB::Exception: Syntax error: failed at position 9 ('{') (line 1, col 9): { 
templatevar }} AS __timestamp,
   ```
   These are our feature flags:
   ```
   # feature_flags
   FEATURE_FLAGS = {
     "DASHBOARD_CROSS_FILTERS": True,
     "DRILL_TO_DETAIL": True,
     "DRILL_BY": True,
     "ENABLE_TEMPLATE_PROCESSING": True,
     "ENABLE_TEMPLATE_REMOVE_FILTERS": False,
     "DASHBOARD_RBAC": True,
     "GLOBAL_ASYNC_QUERIES": True,
   }
   ```
   We recently switched ENABLE_TEMPLATE_REMOVE_FILTERS to false as it was a 
change in 3.0 https://preset.io/blog/superset-3-0-release-notes/#feature-flags, 
but we are still seeing the same issue.
   
   This use to work for us in 2.1.0.


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