[jira] [Commented] (ORC-152) Saving empty Spark DataFrame via ORC does not preserve schema
[ https://issues.apache.org/jira/browse/ORC-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16289678#comment-16289678 ] Nicholas Chammas commented on ORC-152: -- A link to the matching Spark issue is in the description above. > 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.4.14#64029)
[jira] [Commented] (ORC-152) Saving empty Spark DataFrame via ORC does not preserve schema
[ https://issues.apache.org/jira/browse/ORC-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16289027#comment-16289027 ] Alexandre Borgoltz commented on ORC-152: Hi Nicholas, I know this is getting a bit old now but... Have you discussed this problem (the ORC DataFrameWriter for an empty DataFrame does not write any .orc file hence losing the schema/structtype from the source...) with the spark project eventually? Any link/ref? Thanks in advance! > 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.4.14#64029)
[jira] [Commented] (ORC-152) Saving empty Spark DataFrame via ORC does not preserve schema
[ 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)