Skip to content

Conversation

@elsesiy
Copy link

@elsesiy elsesiy commented Sep 21, 2025

After using the current Snowflake implementation via snowsql with mandatory SSO, I found it barely usable given the constant browser interrupts. Hence, I implemented support for snow CLI which was also mentioned in #174 (comment) with the same motivation.

  • Add g:db_adapter_snowflake_use_cli variable to toggle between tools
  • Switch to long cli args to simplify command invocation (same args for both)
  • Switch to csv completion for the same reason (snow cli doesn't support tsv)
  • Keep SnowSQL as default for backward compatibility
  • Add tests to ensure functionality

Relates to #174

Note: I have yet to thoroughly test it but wanted to open it up for conversation already in case it requires some bigger refactoring.

- Add g:db_adapter_snowflake_use_cli variable to toggle between tools
- Switch to long cli args to simplify command invocation (same args for both)
- Switch to csv completion for the same reason (snow cli doesn't support tsv)
- Keep SnowSQL as default for backward compatibility
- Add tests to ensure functionality

Relates to tpope#174

Signed-off-by: Jonas-Taha El Sesiy <github@elsesiy.com>
@elsesiy elsesiy marked this pull request as ready for review September 21, 2025 07:47
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