snowflakedb / snowflake-cli

Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations.

Home Page:https://docs.snowflake.com/developer-guide/snowflake-cli-v2/index

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SNOW-1057432: Support full stage path in package upload

sfc-gh-turbaszek opened this issue · comments

Description

Can't select which folder to upload to in stage, so they're all at the root. For example:
snow snowpark package upload --file samrand.zip --stage "external.dev_deployment/testfolder"
fails with

001003 (42000): SQL compilation error:
syntax error line 1 at position 50 unexpected '/'.

Fully qualified name as well as stage path should be fully supported by snowcli. We should revisit this also in other places.

Context

No response