Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/11936#issuecomment-201332718
  
    Just realized the problem while washing dishes...
    
    The above comment is a false alarm. The real problem is that I ignored 
start position and length of the `PartitionedFile` and created ORC splits using 
`OrcNewInputFormat`. After digging for a while, I found that although 
instantiating `OrcNewSplit` is pretty complicated, `OrcNewInputSplit` doesn't 
even require an `OrcNewSplit`, a plain `FileSplit` is just enough. So now the 
`OrcRecordReader` is simply created using `OrcNewInputFormat` and a 
`FileSplit`, which works well.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to