You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by GitBox <gi...@apache.org> on 2020/10/05 07:29:20 UTC

[GitHub] [orc] dongjoon-hyun opened a new pull request #549: ORC-671. Add OrcTail.getStripeStatistics back for backward compatibility

dongjoon-hyun opened a new pull request #549:
URL: https://github.com/apache/orc/pull/549


   ### What changes were proposed in this pull request?
   
   This PR aims to add `OrcTail.getStripeStatistics` back for backward compatibility.
   
   ### Why are the changes needed?
   
   Apache ORC 1.6.0 ~ 1.6.5 removes `getStripeStatistics` during Proleptic time support. We had better keep the backward compatibility as a wrapper for the new API.
   ```
   [info]   java.lang.RuntimeException: ORC split generation failed with exception: java.lang.NoSuchMethodError: org.apache.orc.impl.OrcTail.getStripeStatistics()Ljava/util/List;
   [info]   at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1731)
   [info]   at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.getSplits(OrcInputFormat.java:1817)
   ```
   
   ### How was this patch tested?
   
   This is tested with Apache Spark `sql/hive` module test.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] omalley commented on pull request #549: ORC-671. Add OrcTail.getStripeStatistics back

Posted by GitBox <gi...@apache.org>.
omalley commented on pull request #549:
URL: https://github.com/apache/orc/pull/549#issuecomment-703818338






----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] dongjoon-hyun commented on pull request #549: ORC-671. Add OrcTail.getStripeStatistics back

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #549:
URL: https://github.com/apache/orc/pull/549#issuecomment-703477557


   This is still `Draft` because this reveals another missing APIs.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] omalley closed pull request #549: ORC-671. Add OrcTail.getStripeStatistics back

Posted by GitBox <gi...@apache.org>.
omalley closed pull request #549:
URL: https://github.com/apache/orc/pull/549


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] dongjoon-hyun commented on pull request #549: ORC-671. Add OrcTail.getStripeStatistics back

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #549:
URL: https://github.com/apache/orc/pull/549#issuecomment-703877254


   Thank you, @omalley . Yes. I will use different JIRA for the remaining issue because the remaining issue is about another API.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] omalley commented on pull request #549: ORC-671. Add OrcTail.getStripeStatistics back

Posted by GitBox <gi...@apache.org>.
omalley commented on pull request #549:
URL: https://github.com/apache/orc/pull/549#issuecomment-703817726


   Oh, I missed that you wanted to add more. I added a test case. :)


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] dongjoon-hyun commented on pull request #549: ORC-671. Add OrcTail.getStripeStatistics back

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #549:
URL: https://github.com/apache/orc/pull/549#issuecomment-703879679


   Also, thank you for the test case and I tested in `branch-1.6` with that test case and backported to `branch-1.6`, too.
   - https://github.com/apache/orc/commit/d78cc39a9299b62bc8a5d8f5c3fac9201e03cb8b


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org