Skip to content

Commit

Permalink
ORC-1564: Add Java ORC configuration documentation
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

### Why are the changes needed?
ORC Java has a lot of configuration items, but there is no page for users to view.

### How was this patch tested?

Closes #1713 from cxzl25/ORC-1564.

Authored-by: sychen <[email protected]>
Signed-off-by: William Hyun <[email protected]>
  • Loading branch information
cxzl25 authored and williamhyun committed Jan 2, 2024
1 parent 5b25332 commit d8becfc
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/core/src/java/org/apache/orc/OrcConf.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public enum OrcConf {
"Hive 2.1."),
FORCE_POSITIONAL_EVOLUTION_LEVEL("orc.force.positional.evolution.level",
"orc.force.positional.evolution.level", 1,
"Require schema evolution to match the the defined no. of level columns using position\n" +
"Require schema evolution to match the defined no. of level columns using position\n" +
"rather than column names. This provides backwards compatibility with Hive 2.1."),
ROWS_BETWEEN_CHECKS("orc.rows.between.memory.checks", "orc.rows.between.memory.checks", 5000,
"How often should MemoryManager check the memory sizes? Measured in rows\n" +
Expand Down Expand Up @@ -219,7 +219,7 @@ public enum OrcConf {
+ "optimization"),
ORC_MIN_DISK_SEEK_SIZE_TOLERANCE("orc.min.disk.seek.size.tolerance",
"orc.min.disk.seek.size.tolerance", 0.00,
"Define the tolerance for for extra bytes read as a result of "
"Define the tolerance for extra bytes read as a result of "
+ "orc.min.disk.seek.size. If the "
+ "(bytesRead - bytesNeeded) / bytesNeeded is greater than this "
+ "threshold then extra work is performed to drop the extra bytes from "
Expand Down
1 change: 1 addition & 0 deletions site/_data/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
docs:
- core-java
- core-cpp
- core-java-config

- title: Tools
docs:
Expand Down
Loading

0 comments on commit d8becfc

Please sign in to comment.