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
hey @Belair34 it is better late than never to reply! Sorry for the delay!
This endpoint is meant to be read only. So it if it is SQL that is not supposed to be run via this endpoint it should not run at all.
Right now, and it is a guess, the code uses type of SQL after SQL was compiled. Which is too later for alter table that executes during compilation.
A full blown "correct" solution would be to have "compile" stage produce model and then execute them separately. But for things like alter this seemed an overkill at the time.
Perhaps we can introduce an attribute on SqlExecutionContext, which would help execution sites decide if to execute SQLs or not.
Feel free to explore the codebase and perhaps see what works best.
Describe the bug
weather
Observe response to be:
drop
cannot be executedTo reproduce
No response
Expected Behavior
No response
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: