chore(release): prepare 56.0.0 release (#121) ## Which issue does this PR close? N/A ## Rationale for this change Prepare the next release. The version moves from `0.x` to `56.0.0` so it matches the DataFusion version this release depends on, as other DataFusion subprojects do. ## What changes are included in this PR? - Change the Maven version from `0.2.0-SNAPSHOT` to `56.0.0` in `pom.xml`, `core/pom.xml` and `examples/pom.xml` - Change the Cargo workspace version from `0.1.0` to `56.0.0` and update `Cargo.lock` to match - Add `dev/changelog/56.0.0.md`, generated with `dev/release/generate-changelog.py 0.1.0 HEAD 56.0.0` ## Are these changes tested? `cargo check` passes. CI will run the full build. ## Are there any user-facing changes? Yes. Released artifacts will be versioned `56.0.0`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Java bindings for Apache DataFusion. Queries run in native Rust and results return to the JVM as Apache Arrow batches via the Arrow C Data Interface.
Early development: the API will change between releases. Bug reports and contributions welcome.
Released to Maven Central. The JAR bundles the native library for Linux and macOS on x86_64 and aarch64. Windows users need to build from source.
Maven:
<dependency> <groupId>org.apache.datafusion</groupId> <artifactId>datafusion-java</artifactId> <version>0.1.0</version> </dependency>
Gradle:
implementation("org.apache.datafusion:datafusion-java:0.1.0")
Arrow needs --add-opens=java.base/java.nio=ALL-UNNAMED on the JVM command line. See the installation guide for details and for building from source.
import org.apache.arrow.memory.RootAllocator; import org.apache.arrow.vector.ipc.ArrowReader; import org.apache.datafusion.DataFrame; import org.apache.datafusion.SessionContext; try (var allocator = new RootAllocator(); var ctx = new SessionContext()) { ctx.registerParquet("orders", "/path/to/orders.parquet"); try (DataFrame df = ctx.sql( "SELECT o_orderpriority, COUNT(*) AS n " + "FROM orders GROUP BY o_orderpriority"); ArrowReader reader = df.collect(allocator)) { while (reader.loadNextBatch()) { var batch = reader.getVectorSchemaRoot(); // ... } } }
SessionContext and DataFrame are AutoCloseable and not thread-safe.
The full documentation lives under docs/source/ and is built with Sphinx (see docs/README.md for the build steps):
JDK 17+. Building from source: see docs/source/contributor-guide/development.md.
Open an issue to discuss non-trivial changes before sending a PR. See the contributor guide.
Apache License 2.0. See LICENSE.txt and NOTICE.txt.