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
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
snow snowpark deploy wraps null in quotes if type is string.varchar
SNOW-1711304: snow snowpark deploy wraps null in quotes if type is string.varchar
Oct 4, 2024
lorcan17
changed the title
SNOW-1711304: snow snowpark deploy wraps null in quotes if type is string.varchar
SNOW-1711304: snow snowpark deploy wraps null in quotes if type is string or varchar
Oct 4, 2024
How should default null values be specified in the snowflake.yml project definition file for type Variant and String so they are treated correctly by Python as None?
SnowCLI version
2.8.1
Python version
3.10.13
Platform
Windows-10-10.0.22631-SP0
What happened
My snowflake.yml file is set with the below configurations:
definition_version: "1.1" snowpark: project_name: "examlpe" stage_name: "examlpe" src: "example/" procedures: - name: example database: meta_db schema: config handler: "example.example" signature: - name: streams type: variant default: null - name: views type: variant default: null - name: cron_expr type: string default: null - name: timezone_str type: varchar default: America/Los_Angeles - name: daily_max_refresh type: number default: null returns: varchar
When I run snowpark deploy the output shows that the string default value for cron_expr is incorrectly stated as 'null' instead of null
Console output
How to reproduce
As above
The text was updated successfully, but these errors were encountered: