You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2025/02/11 00:01:20 UTC
(orc) branch main updated: ORC-1848: PrintData tool add parameter description
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 2aec4fb95 ORC-1848: PrintData tool add parameter description
2aec4fb95 is described below
commit 2aec4fb95292a9a11218234d4675ae05e9240a5e
Author: sychen <sy...@ctrip.com>
AuthorDate: Mon Feb 10 16:01:13 2025 -0800
ORC-1848: PrintData tool add parameter description
### What changes were proposed in this pull request?
```bash
java -jar orc-tools-2.2.0-SNAPSHOT-uber.jar data -h
usage: java -jar orc-tools-*.jar data <orc file>*
-h,--help Provide help
-n,--lines <LINES> Sets lines of data to be printed
```
### Why are the changes needed?
```bash
java -jar orc-tools-2.1.0-uber.jar data -h
usage: java -jar orc-tools-*.jar data <orc file>*
-h,--help Provide help
-n,--lines <LINES>
```
### How was this patch tested?
local test
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #2126 from cxzl25/ORC-1848.
Authored-by: sychen <sy...@ctrip.com>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
java/tools/src/java/org/apache/orc/tools/PrintData.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/tools/src/java/org/apache/orc/tools/PrintData.java b/java/tools/src/java/org/apache/orc/tools/PrintData.java
index 37a720942..6c7c18ba1 100644
--- a/java/tools/src/java/org/apache/orc/tools/PrintData.java
+++ b/java/tools/src/java/org/apache/orc/tools/PrintData.java
@@ -238,6 +238,7 @@ public class PrintData {
.build();
Option linesOpt = Option.builder("n").longOpt("lines")
.argName("LINES")
+ .desc("Sets lines of data to be printed")
.hasArg()
.build();