You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a MySql Function which makes updates to a table, inserts a row into another table and returns an integer value.
When I call this function from Superset's MySQL lab (e.g select myfunc()), all parts of the function execute as expected.
However when the same function is called from a scheduled Alert (under Alerts and Reports), none of the update and insert functions are performed and only the the return value is returned.
I have tried granting full privileges to the supersert user in MySql with no luck; but again the most strange aspect of this is that when called from MySql Lab (using the same username) everything is fine, but not when called from an Alert.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good day,
I have a MySql Function which makes updates to a table, inserts a row into another table and returns an integer value.
When I call this function from Superset's MySQL lab (e.g select myfunc()), all parts of the function execute as expected.
However when the same function is called from a scheduled Alert (under Alerts and Reports), none of the update and insert functions are performed and only the the return value is returned.
I have tried granting full privileges to the supersert user in MySql with no luck; but again the most strange aspect of this is that when called from MySql Lab (using the same username) everything is fine, but not when called from an Alert.
Grateful for any assistance.
Thanks,
Ali
Beta Was this translation helpful? Give feedback.
All reactions