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
Is your feature request related to a problem? Please describe.
For now, there is no way to parse EXECUTE IMMEDIATEstatement in Trino, since there is an error for
self.validate_identity(
"""EXECUTE IMMEDIATE 'INSERT INTO a (b, c, d) VALUES (?, ?, ?)' USING DATE '2024-08-23', TIMESTAMP '2024-08-23 09:28:42.000000 UTC', DOUBLE '0.0', 'test'"""
)
'EXECUTE IMMEDIATE 'INSERT INTO a (b, c, d) VALUES (?, ?, ?)' USING DATE '2024-08-23', TIMESTAMP '202' contains unsupported syntax. Falling back to parsing as a 'Command'.
Describe the solution you'd like
Add parser for the EXECUTE IMMEDIATE statement
Describe alternatives you've considered
Additional context
I was confused how to do it since it clashes with the existing TokenType.EXECUTE - see the discussion
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
For now, there is no way to parse
EXECUTE IMMEDIATE
statement in Trino, since there is an error forDescribe the solution you'd like
Add parser for the
EXECUTE IMMEDIATE
statementDescribe alternatives you've considered
Additional context
I was confused how to do it since it clashes with the existing TokenType.EXECUTE - see the discussion
The text was updated successfully, but these errors were encountered: