[ 
https://issues.apache.org/jira/browse/ORC-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated ORC-463:
------------------------------
    Description: 
In the popular OS like Mac, many people uses `orc-tools` command instead of 
`java -jar orc-tools-1.6.0-SNAPSHOT-uber.jar`. This issue aims to add `version` 
command like the following. (`version` is added.)

{code}
$ orc-tools version
ORC 1.6.0-SNAPSHOT
{code}

{code:java}
$ orc-tools
ORC Java Tools

usage: java -jar orc-tools-*.jar [--help] [--define X=Y] <command> <args>

Commands:
version - print the version of this ORC tool
meta - print the metadata about the ORC file
data - print the data from the ORC file
scan - scan the ORC file
convert - convert CSV and JSON files to ORC
json-schema - scan JSON files to determine their schema
key - print information about the keys

To get more help, provide -h to the command
{code}

  was:
In the popular OS like Mac, many people uses `orc-tools` command instead of 
`java -jar orc-tools-1.6.0-SNAPSHOT-uber.jar`. This issue aims to add `version` 
command like the following. (`version` is added.)

{code:java}
$ orc-tools
ORC Java Tools

usage: java -jar orc-tools-*.jar [--help] [--define X=Y] <command> <args>

Commands:
version - print the version of this ORC tool
meta - print the metadata about the ORC file
data - print the data from the ORC file
scan - scan the ORC file
convert - convert CSV and JSON files to ORC
json-schema - scan JSON files to determine their schema
key - print information about the keys

To get more help, provide -h to the command
{code}

{code}
$ orc-tools version
ORC 1.6.0-SNAPSHOT
{code}


> Add `version` command
> ---------------------
>
>                 Key: ORC-463
>                 URL: https://issues.apache.org/jira/browse/ORC-463
>             Project: ORC
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 1.6.0
>            Reporter: Dongjoon Hyun
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the popular OS like Mac, many people uses `orc-tools` command instead of 
> `java -jar orc-tools-1.6.0-SNAPSHOT-uber.jar`. This issue aims to add 
> `version` command like the following. (`version` is added.)
> {code}
> $ orc-tools version
> ORC 1.6.0-SNAPSHOT
> {code}
> {code:java}
> $ orc-tools
> ORC Java Tools
> usage: java -jar orc-tools-*.jar [--help] [--define X=Y] <command> <args>
> Commands:
> version - print the version of this ORC tool
> meta - print the metadata about the ORC file
> data - print the data from the ORC file
> scan - scan the ORC file
> convert - convert CSV and JSON files to ORC
> json-schema - scan JSON files to determine their schema
> key - print information about the keys
> To get more help, provide -h to the command
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to