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"
本文标签:
版权声明:本文标题:snowflake cloud data platform - How to update python runtime version while registering stored procedure using sproc() in snowpra 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744669102a2618714.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论