Skip to content

Preserve commas within complete SQL parameter assignments - #105

Merged
apstndb merged 1 commit into
mainfrom
fix/review-param-commas
Sep 22, 2026
Merged

apstndb merged 1 commit into
mainfrom
fix/review-param-commas

Conversation

@apstndb

@apstndb apstndb commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Kong split commas inside --param values before SQL literal parsing, rejecting valid ARRAY, STRUCT, and STRING parameters even when shell-quoted.

Preserve each flag as one complete assignment and cover actual CLI parsing and command preparation. Document repeated flags in the help and README.

Compatibility: --param=n=1,m=2 no longer expands into two assignments; use --param=n=1 --param=m=2.

Validation: Go 1.25.13 build, full tests with the Spanner emulator, and golangci-lint; independent CLI regression verification.

@apstndb
apstndb merged commit 635b6ae into main Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant