Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3119#discussion_r20835119
  
    --- Diff: core/src/main/scala/org/apache/spark/io/CompressionCodec.scala ---
    @@ -42,27 +43,37 @@ trait CompressionCodec {
       def compressedOutputStream(s: OutputStream): OutputStream
     
       def compressedInputStream(s: InputStream): InputStream
    -}
     
    +  def isAvailable() : Boolean = true
    --- End diff --
    
    By the way - the fact that you cannot safely add a method with a default 
implementation to a trait is not intuitive at all. You can checkout this 
article for more information why this is:
    
    
http://stackoverflow.com/questions/18366817/is-adding-a-trait-method-with-implementation-breaking-backward-compatibility


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