Skip to content

Commit 9cb7dc3

Browse files
committed
docs: fix incorrect ParquetReadOptions API and tighten development page
1 parent 62216f8 commit 9cb7dc3

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎docs/source/contributor-guide/development.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ disk space.
6969

7070
## Repository layout
7171

72+
- `pom.xml` — Maven build descriptor.
73+
- `Makefile` — top-level build orchestration (`make test`, `make tpch-data`).
74+
- `mvnw`, `mvnw.cmd` — bundled Maven wrapper.
7275
- `src/` — Java sources and tests.
7376
- `native/` — Rust crate (JNI + Arrow C Data Interface).
7477
- `docs/` — Sphinx documentation source and build scripts.

‎docs/source/user-guide/dataframe.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ production code paths.
7979
To get the schema of a registered table without running a query:
8080

8181
```java
82-
Schema schema = ctx.tableSchema("orders");
82+
org.apache.arrow.vector.types.pojo.Schema schema = ctx.tableSchema("orders");
8383
```
8484

8585
## Plan input

‎docs/source/user-guide/parquet.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@ away.
5050
## ParquetReadOptions
5151

5252
Both entry points accept a `ParquetReadOptions` to tune the underlying
53-
read. Construct one with the builder:
53+
read. Construct one directly and chain setters:
5454

5555
```java
56-
ParquetReadOptions opts = ParquetReadOptions.builder()
57-
.fileExtension(".parquet")
58-
.build();
56+
ParquetReadOptions opts = new ParquetReadOptions()
57+
.fileExtension(".parquet");
5958

6059
ctx.registerParquet("orders", "/path/to/orders.parquet", opts);
6160
// or
@@ -64,6 +63,6 @@ try (DataFrame df = ctx.readParquet("/path/to/orders.parquet", opts)) {
6463
}
6564
```
6665

67-
The supported options track what DataFusion exposes on its Rust
66+
The supported setters track what DataFusion exposes on its Rust
6867
`ParquetReadOptions` builder. Inspect the class on the Java side for the
6968
exact setters available in the version you are using.

0 commit comments

Comments
 (0)