[ 
https://issues.apache.org/jira/browse/PARQUET-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812716#comment-17812716
 ] 

Steve Loughran commented on PARQUET-2422:
-----------------------------------------

would be nice to see an example of this, but i can appreciate the risk

> Prevent unwrapping of Hadoop filestreams
> ----------------------------------------
>
>                 Key: PARQUET-2422
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2422
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-hadoop
>            Reporter: Rathin Bhargava
>            Priority: Major
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> While checking whether a stream is `ByteBufferReadable`, we end up unwrapping 
> the stream and using the unwrapped stream object.
>  
> This can cause issues if we depend on the behavior of a certain stream object.
>  
> The fix is simple, we can type-check without unwrapping the filestream.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to