SNOW-1342891: Are CTEs allowed while doing session.sql()
?
#1931
Labels
status-triage_done
Initial triage done, will be further handled by the driver team
Python version
3.11.4
Operating system and processor architecture
Windows-10-10.0.17763-SP0
Installed packages
The list is too long and is in a VM so copying is difficult. I don't think it will be needed. If needed, I'll post here.
What did you do?
I'm trying to execute a SQL using a Snowflake Python Connector session. Something like:
where
file.sql
has SQL starting with a CTE, something like this:What did you expect to see?
I expected the SQL statement to be run successfully and the data should be returned as
snowflake.snowpark.DataFrame
Instead, I'm getting this:
I have a question: are CTEs not allowed in Snowflake Python Sessions or am I missing anything
The text was updated successfully, but these errors were encountered: