You are viewing documentation about an older version (1.15.0). View latest version

snowflake.snowpark.exceptions.SnowparkSQLExceptionΒΆ

exception snowflake.snowpark.exceptions.SnowparkSQLException(message: str, *, error_code: Optional[str] = None, conn_error: Optional[Error] = None, sfqid: Optional[str] = None, query: Optional[str] = None, sql_error_code: Optional[int] = None, raw_message: Optional[str] = None)[source]ΒΆ

Bases: SnowparkClientException

Exception for errors related to the executed SQL statement that was generated from the Snowflake plan.

Includes all error codes in range 13XX (where XX is 0-9).

This exception is specifically raised for error codes: 1300, 1304.