Код: Выделить всё
SnowparkSQLException: (1304): : 100357 (P0000): : Python Interpreter Error:
snowflake.connector.errors.ProgrammingError: 251005: User is empty in function MY_FUNCTION with handler compute
Код: Выделить всё
def my_function(session: Session,
input_table: str,
limit: int) -> None:
# Even doing nothing doesn't work!
return
sproc_my_function = my_session.sproc.register(func=my_function,
name='my_function',
is_permanent=True,
replace=True,
stage_location='@STAGE_LOC',
execute_as="owner",
input_table = 'x.y.MY_INPUT_TABLE'
sproc_process_row(my_session,
input_table,
100,
)
Пожалуйста, помогите!
Подробнее здесь: https://stackoverflow.com/questions/793 ... or-snowpar
Мобильная версия