dongjoon-hyun commented on issue #1866:
URL: https://github.com/apache/orc/issues/1866#issuecomment-2033080504
May I ask why we don't use `orc-tools` (Java tool) instead?
```
$ orc-tools version
ORC 2.0.0
$ orc-tools --help
ORC Java Tools
usage: java -jar orc-tools-*.jar [--help] [--define X=Y] <command> <args>
Commands:
convert - convert CSV and JSON files to ORC
count - recursively find *.orc and print the number of rows
data - print the data from the ORC file
json-schema - scan JSON files to determine their schema
key - print information about the keys
meta - print the metadata about the ORC file
scan - scan the ORC file
sizes - list size on disk of each column
version - print the version of this ORC tool
To get more help, provide -h to the command
$ echo "1.1299999999999991" > test.csv
$ orc-tools convert --schema "struct<amount:decimal(38,18)>" test.csv -o
test.orc
$ orc-tools data test.orc
[main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load
native-hadoop library for your platform... using builtin-java classes where
applicable
Processing data file test.orc [length: 300]
{"amount":"1.1299999999999991"}
________________________________________________________________________________________________________________________
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]