You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a valid Snowflake schema called 3_DAYS. (I know this is probably not best practice, but it's what is currently in our production system at the moment). When I attempt to deploy a snowpark app to the schema, it fails because the SQL being executed does not wrap the schema name in quotations.
Console output
> snow snowpark deploy
An unexpected exception occurred. Use --debug option to see the traceback. Exception message:
001003 (42000): 01b51efd-0002-538c-0000-33558f3d4982: SQL compilation error:
syntax error line 1 at position 31 unexpected '.3'.
syntax error line 1 at position 31 unexpected '.3'.
syntax error line 1 at position 38 unexpected '.'.
syntax error line 1 at position 58 unexpected 'comment'.
Attempted to deploy the sample project to the TEMP."3_DAYS" schema with snow snowpark deploy. The CLI failed with the console output attached in the form and the below query is what failed
create stage if not exists TEMP.3_DAYS.my_deployment comment='deployments managed by Snowflake CLI'
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Deploy does not handle schema names that begin with a number
SNOW-1491518: Deploy does not handle schema names that begin with a number
Jun 19, 2024
SnowCLI version
2.4.1
Python version
3.11.9
Platform
macOS-13.6.6-arm64-arm-64bit
What happened
I have a valid Snowflake schema called
3_DAYS
. (I know this is probably not best practice, but it's what is currently in our production system at the moment). When I attempt to deploy a snowpark app to the schema, it fails because the SQL being executed does not wrap the schema name in quotations.Console output
How to reproduce
config.toml
as follows:snow snowpark init
and configuredsnowflake.yml
as follows:snow snowpark build
TEMP."3_DAYS"
schema withsnow snowpark deploy
. The CLI failed with the console output attached in the form and the below query is what failedThe text was updated successfully, but these errors were encountered: