docs: document adding GPG keys to both dev and release KEYS files (#441)

## Which issue does this PR close?

N/A

## Rationale for this change

The release docs say a release manager's GPG key only needs to be in the
release `KEYS` file. The core DataFusion release docs require it in both
the dev and release `KEYS` files. Release candidates are uploaded to the
dev area, so voters check the signature against the dev file.

## What changes are included in this PR?

Docs only, in `dev/release/README.md`:

- The prerequisites now list both the dev and release `KEYS` files.
- A new section shows how to append a key with `svn`, and notes that
committers can edit the dev file while only PMC members can commit to
the release file.

## Are these changes tested?

No code changes. I checked the wording against the core DataFusion
`dev/release/README.md`.

## Are there any user-facing changes?

No.
1 file changed
tree: 537930ab012cca989d495d917a507c994f0b9016
  1. .ai/
  2. .github/
  3. crates/
  4. dev/
  5. docs/
  6. .asf.yaml
  7. .gitignore
  8. AGENTS.md
  9. Cargo.lock
  10. Cargo.toml
  11. CONTRIBUTING.md
  12. LICENSE.txt
  13. NOTICE.txt
  14. README.md
  15. rustfmt.toml
README.md

DataFusion Spark

Apache DataFusion expressions that emulate Apache Spark's behavior.

This crate provides Spark-compatible scalar, aggregate, and table functions that can be registered with a DataFusion SessionContext.

Quick start

[dependencies]
datafusion = "56"
datafusion-spark = { version = "56", features = ["core"] }

The core feature provides the session helper and registers the Spark functions. Add sql as well to enable the Spark planner rewrites, which is what gives operators such as / their Spark semantics (both sides cast to DOUBLE, and a zero divisor returns NULL):

datafusion-spark = { version = "56", features = ["core", "sql"] }

Call with_spark_features after with_default_features, since Spark functions replace DataFusion functions with the same name:

use datafusion::execution::SessionStateBuilder;
use datafusion::prelude::SessionContext;
use datafusion_spark::SessionStateBuilderSpark;

let state = SessionStateBuilder::new()
    .with_default_features()
    .with_spark_features()
    .build();
let ctx = SessionContext::new_with_state(state);

// `sha2` now has Spark semantics
let df = ctx.sql("SELECT sha2('Spark', 256)").await?;

See the function reference for the documented functions, the crate README and the API documentation for more.

Repository layout

  • crates/spark – the datafusion-spark crate
  • crates/sqllogictest – SQL logic tests for the Spark functions
  • crates/cli – datafusion-spark-cli, a SQL shell with the Spark functions registered (cargo run -p datafusion-spark-cli)
  • .ai/skills – agent skills for working on this repository (see AGENTS.md)

Building and testing

cargo build
cargo test

Contributing

Contributions are welcome. See CONTRIBUTING.md for implementation and testing guidelines. Before opening a PR, run:

cargo fmt --all
cargo clippy --all-targets --all-features -- -D warnings
cargo test -p datafusion-spark
cargo test -p datafusion-spark-sqllogictest

License

Licensed under the Apache License, Version 2.0.