You are viewing documentation about an older version (1.12.1). 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.