- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13
Implement snowflake support via sql api #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: contact <[email protected]>
This commit introduces the initial implementation of the Snowflake driver for SQLx. It includes the core database driver architecture, connection management, basic authentication framework, and example usage. The changes also encompass updates to the workspace configuration, Cargo.toml, and the addition of new files for documentation and examples. Co-authored-by: contact <[email protected]>
| Cursor Agent can help with this pull request. Just  | 
| @cursoragent Make sure to run cargo clippy and cargo fmt before each commit. Make sure to test everything locally. | 
| ⌛ Working on 16 tasks 
 | 
Co-authored-by: contact <[email protected]>
| @cursoragent , for local testing and on ci, you can use https://github.com/tekumara/fakesnow And the Any driver integration is mandatory. | 
Co-authored-by: contact <[email protected]>
| @cursoragent make sure your code is tested on ci and run ci checks locally too cargo clippy --manifest-path sqlx-core/Cargo.toml  | 
Co-authored-by: contact <[email protected]>
Integrates Snowflake as a database option within the Any driver, enabling unified database access. This includes updates to connection management, type handling, and query execution. Co-authored-by: contact <[email protected]>
Add initial Snowflake support to SQLx, including core driver traits, basic type system, and an HTTP connection framework.
This PR lays the foundational architecture for the Snowflake driver, implementing the necessary SQLx traits and an HTTP client for the Snowflake SQL API. While the authentication currently uses a dummy JWT key and full result parsing is not yet implemented, the module compiles, passes basic structural tests, and successfully establishes HTTP communication with a Snowflake instance, providing a solid base for further development.