[jira] [Commented] (ORC-153) Treat no arguments in tools jar convert and json-schema as help request

2017-02-28 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ORC-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15888590#comment-15888590
 ] 

ASF GitHub Bot commented on ORC-153:


GitHub user omalley opened a pull request:

https://github.com/apache/orc/pull/97

ORC-153. Treat no arguments in convert and json-schema as help request.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/omalley/orc orc-153

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/orc/pull/97.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #97


commit 0ae3cb58ee9a88095ac5055e35f3a6fb803ec755
Author: Owen O'Malley 
Date:   2017-02-28T17:37:58Z

ORC-153. Treat no arguments in convert and json-schema as help request.




> Treat no arguments in tools jar convert and json-schema as help request
> ---
>
> Key: ORC-153
> URL: https://issues.apache.org/jira/browse/ORC-153
> Project: Orc
>  Issue Type: Bug
>Reporter: Owen O'Malley
>Assignee: Owen O'Malley
>
> Currently, we get a NPE when you don't pass any arguments to convert, which 
> is pretty user hostile.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ORC-150) Add tool to convert from JSON to ORC

2017-02-28 Thread Owen O'Malley (JIRA)

[ 
https://issues.apache.org/jira/browse/ORC-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15888560#comment-15888560
 ] 

Owen O'Malley commented on ORC-150:
---

[~leftylev] Ok, I made a pull request at https://github.com/apache/orc/pull/98 
for the updated page.

> Add tool to convert from JSON to ORC
> 
>
> Key: ORC-150
> URL: https://issues.apache.org/jira/browse/ORC-150
> Project: Orc
>  Issue Type: New Feature
>Reporter: Owen O'Malley
>Assignee: Owen O'Malley
> Fix For: 1.4.0
>
>
> We should have a tool to convert from JSON data to ORC. Something like
> % java -jar orc-tools-*uber.jar create "struct" *.json



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (ORC-153) Treat no arguments in tools jar convert and json-schema as help request

2017-02-28 Thread Owen O'Malley (JIRA)

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

Owen O'Malley reassigned ORC-153:
-


> Treat no arguments in tools jar convert and json-schema as help request
> ---
>
> Key: ORC-153
> URL: https://issues.apache.org/jira/browse/ORC-153
> Project: Orc
>  Issue Type: Bug
>Reporter: Owen O'Malley
>Assignee: Owen O'Malley
>
> Currently, we get a NPE when you don't pass any arguments to convert, which 
> is pretty user hostile.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (ORC-151) Cut down on the size of the tools jar by excluding more

2017-02-28 Thread Owen O'Malley (JIRA)

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

Owen O'Malley reassigned ORC-151:
-

Assignee: Owen O'Malley

> Cut down on the size of the tools jar by excluding more
> ---
>
> Key: ORC-151
> URL: https://issues.apache.org/jira/browse/ORC-151
> Project: Orc
>  Issue Type: Bug
>Reporter: Owen O'Malley
>Assignee: Owen O'Malley
> Fix For: 1.4.0
>
>
> It would be good to cut down the size of the tools jar by excluding more of 
> the transitive dependencies, especially through the hadoop jars.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ORC-152) Saving empty Spark DataFrame via ORC does not preserve schema

2017-02-28 Thread Owen O'Malley (JIRA)

[ 
https://issues.apache.org/jira/browse/ORC-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15888295#comment-15888295
 ] 

Owen O'Malley commented on ORC-152:
---

It looks like SPARK-15474 is doing the right thing using a struct with no 
fields as the schema. Is there a necessary fix on the ORC side?

> Saving empty Spark DataFrame via ORC does not preserve schema
> -
>
> Key: ORC-152
> URL: https://issues.apache.org/jira/browse/ORC-152
> Project: Orc
>  Issue Type: Bug
>Reporter: Nicholas Chammas
>Priority: Minor
>
> Details are on SPARK-15474.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ORC-151) Cut down on the size of the tools jar by excluding more

2017-02-28 Thread Istvan Szukacs (JIRA)

[ 
https://issues.apache.org/jira/browse/ORC-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15887640#comment-15887640
 ] 

Istvan Szukacs commented on ORC-151:


Thanks Owen,

This is extremely useful. I think at this stage I am going to fork orc-core and 
work there, trying to remove all of the Hadoop dependencies. I will let you 
know how it goes and if it is feasible we can try to get that working with 
Hadoop as well without breaking anything.

> Cut down on the size of the tools jar by excluding more
> ---
>
> Key: ORC-151
> URL: https://issues.apache.org/jira/browse/ORC-151
> Project: Orc
>  Issue Type: Bug
>Reporter: Owen O'Malley
>
> It would be good to cut down the size of the tools jar by excluding more of 
> the transitive dependencies, especially through the hadoop jars.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)