Skip to content

Trusession initialization throws SnowparkSQLException: #8

Description

@aishwaryas1

Running day23.py within Snowsight with all dependent packages installed and stage creation completed successfully. However the code line where Trusession is initialized with the object returned by the snowflakeconnector throws an error.

Line 274 tru_session = TruSession(connector=tru_connector)(https://github.com/streamlit/30DaysOfAI/blob/9ba0af38f829a9d249e0fd2827c1badb8046256b/app/day23.py#L274C13-L274C62)

Error :
SnowparkSQLException: (1304): 01c1f8f0-0107-9387-001b-a8c300058f62: 090236 (42601): Stored procedure execution error: Unsupported statement type 'temporary STAGE'.

Error traceback attached

SnowparkSQLException (1304) 01c1f8f_ErrorTraceback.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions