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
SqlParser allows ANY token on RHS of Exec. We need to eventually formalize what EXEC should handle on RHS. Likely literal strings, identifiers (quoted and unquoted).
I'm leaving a TODO in PartiQLParser (experimental) to address this. Since we currently allow any type of token, I will specifically allow expressions that evaluate to strings and identifiers -- since I know we shouldn't be allowing any token.
The text was updated successfully, but these errors were encountered:
Description
SqlParser allows ANY token on RHS of Exec. We need to eventually formalize what EXEC should handle on RHS. Likely literal strings, identifiers (quoted and unquoted).
To Replicate
To replicate:
More Information
I'm leaving a TODO in PartiQLParser (experimental) to address this. Since we currently allow any type of token, I will specifically allow expressions that evaluate to strings and identifiers -- since I know we shouldn't be allowing any token.
The text was updated successfully, but these errors were encountered: