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
When ever a sql query fails in with an Async job, it will only return a message such as:
snowflake.snowpark.exceptions.SnowparkSQLException: (1304): 01ae4e6b-0004-b4f8-0013-728700ad86ce: 000711 (02000): Query 01ae4e6b-0004-b4f8-0013-728700ad86ca has no result because it failed
What is the desired behavior?
Return the underlying query error message.
SQL compilation error: Object 'TABLETHATDOESNTEXIST' does not exist or not authorized.
github-actionsbot
changed the title
Add better error handling for async processess
SNOW-892444: Add better error handling for async processess
Aug 14, 2023
patrickhowerter
changed the title
SNOW-892444: Add better error handling for async processess
SNOW-892444: Add better error handling for async processes
Aug 15, 2023
What is the current behavior?
When ever a sql query fails in with an Async job, it will only return a message such as:
snowflake.snowpark.exceptions.SnowparkSQLException: (1304): 01ae4e6b-0004-b4f8-0013-728700ad86ce: 000711 (02000): Query 01ae4e6b-0004-b4f8-0013-728700ad86ca has no result because it failed
What is the desired behavior?
Return the underlying query error message.
SQL compilation error: Object 'TABLETHATDOESNTEXIST' does not exist or not authorized.
How would this improve
snowflake-snowpark-python
?It would give meaningful error handling
References, Other Background
sql = "select * from tablethatdoesntexist"
cl = session.sql(sql)
cl = cl.collect_nowait()
df = cl.to_df()
df.show()
The text was updated successfully, but these errors were encountered: