Skip to content

SnowCLI not wrapping columns in double quotes that contain commas #2703

@sfc-gh-dproksch

Description

@sfc-gh-dproksch

SnowCLI version

3.13.0

Python version

Python 3.14.0 (MacOS)

Platform

macOS-15.7.2-arm64-arm-64bit-Mach-O (MacOS)

What happened

On Ubuntu and MacOS,

snowsql -q "SELECT 'No Comma', 'With, comma'" \
  -o output_format=csv \
  -o header=true \
  -o friendly=false \
  -o output_file=test_old_snow.csv

will wrap 'With, comma' in double quotes while
snow sql -q "SELECT 'No Comma', 'With, comma'" --format CSV > test_new_snow.csv
does not.

Console output

How to reproduce

see the description

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions