admin管理员组

文章数量:1391064

I have this python code which creates snowpark procedure. The procedure is getting is created using python runtime version as 3.8. I want to upgrade this version to 3.11. I don't any property or method to specify python version using sproc(). Also how the python runtime version will be taken when this sp is created.

@sproc(input_types=[StringType()],
                return_type=StringType(),
                name='person_sproc',
                session=session,
                is_permanent=True,
                packages=['snowflake-snowpark-python', 'numpy'],
                replace=True
            )
            def run(session,table):

                data = session.table(table)
                return "success"

本文标签: