You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "echoeslove (via GitHub)" <gi...@apache.org> on 2024/05/05 14:52:08 UTC
[I] orc-tools unknown subcommend [orc]
echoeslove opened a new issue, #1920:
URL: https://github.com/apache/orc/issues/1920
(no comment)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] orc-tools unknown subcommand "Merge" [orc]
Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 commented on issue #1920:
URL: https://github.com/apache/orc/issues/1920#issuecomment-2113998740
Now you can use 2.0.1 version.
```bash
wget https://repo1.maven.org/maven2/org/apache/orc/orc-tools/2.0.1/orc-tools-2.0.1-uber.jar
```
prepare data
```bash
echo -e "1,foo\n2,bar" > 1.csv
echo -e "3,apache\n4,orc" > 2.csv
java -jar orc-tools-2.0.1-uber.jar convert 1.csv --schema 'struct<c1:int,c2:string>' --output 1.orc
java -jar orc-tools-2.0.1-uber.jar convert 2.csv --schema 'struct<c1:int,c2:string>' --output 2.orc
````
use merge command
```bash
java -jar orc-tools-2.0.1-uber.jar merge --output merge.orc 1.orc 2.orc
```
```
Output path: merge.orc, Input files size: 2, Merge files size: 2
```
dump
```bash
java -jar orc-tools-2.0.1-uber.jar meta -d merge.orc
```
```
Processing data file merge.orc [length: 546]
{"c1":1,"c2":"foo"}
{"c1":2,"c2":"bar"}
{"c1":3,"c2":"apache"}
{"c1":4,"c2":"orc"}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] orc-tools unknown subcommand "Merge" [orc]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on issue #1920:
URL: https://github.com/apache/orc/issues/1920#issuecomment-2094842447
Ya, thank you for reporting.
It will be delivered via [ORC 2.0.1](https://github.com/apache/orc/milestone/29) in two weeks.
https://issues.apache.org/jira/browse/ORC-1644
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] orc-tools unknown subcommand "Merge" [orc]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on issue #1920:
URL: https://github.com/apache/orc/issues/1920#issuecomment-2101858375
This will be resolved via #1928 .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] orc-tools unknown subcommand "Merge" [orc]
Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 closed issue #1920: orc-tools unknown subcommand "Merge"
URL: https://github.com/apache/orc/issues/1920
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org