https://prefect.io logo
r

Rohith

11/10/2022, 9:56 AM
is there a way to execute long sql queries from a .sql file with sqlalchemy_execute ?
👀 1
k

Kalise Richmond

11/10/2022, 4:29 PM
Looking at the collection, I believe the query can be a .sql file which is read in as text(). This is a great question for the #prefect-integrations channel https://github.com/PrefectHQ/prefect-sqlalchemy/blob/6177d46a145f97b6d6da9b1d3036eb3e41f52771/prefect_sqlalchemy/database.py#L50
3 Views