Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 2.25 KB

CONTRIBUTING.md

File metadata and controls

61 lines (46 loc) · 2.25 KB

Contributing to Databricks SQL Kernel

We welcome contributions to Databricks SQL Kernel. Use GitHub Issues to report bugs or discuss features, and GitHub Pull Requests to propose changes.

Communication

Before starting a major feature or a change to user-facing behavior, open an issue or contact eng-oss-sql-driver@databricks.com so that maintainers and contributors can align on the design. Small bug fixes and documentation improvements can be submitted directly as pull requests.

Contribution workflow

  1. Fork and clone the repository.
  2. Create a branch for your change.
  3. Add tests for behavioral changes.
  4. Run the checks described below.
  5. Commit with a DCO sign-off: git commit -s.
  6. Push your branch and open a pull request whose title follows type(scope): description conventional-commit syntax.

Maintainers will review the pull request. Please respond to feedback and keep the change focused on the issue it addresses.

Build and test

Install the stable Rust toolchain. The cross-platform minimum checks are:

cargo fmt --all -- --check
cargo fmt --manifest-path adbc/Cargo.toml -- --check
cargo clippy --all-targets -- -D warnings
cargo clippy --manifest-path adbc/Cargo.toml --all-targets --features ffi -- -D warnings
cargo test
cargo test --manifest-path adbc/Cargo.toml --features ffi

On a Unix-like system with make, a POSIX shell, and a C compiler available as cc, run make check instead. It includes the checks above plus native C ABI smoke tests that use LD_LIBRARY_PATH or DYLD_LIBRARY_PATH; this target is not native-Windows-compatible.

End-to-end tests that require a live Databricks connection are ignored by default. Do not include credentials, connection strings, customer data, or unredacted logs in issues or pull requests.

Developer Certificate of Origin

Contributors must sign off every commit to certify that they have the right to submit the contribution under this project's license. The complete terms are in DCO.

Configure your real name and email in Git, then sign commits with:

git commit -s -m "Your commit message"