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

Wes McKinney commented on PARQUET-474:
--------------------------------------

I figure right now we can leave it to the users to handle threadsafety 
themselves in the course of implementing the RandomAccessSource interface. I 
don't see a problem necessarily in putting a lock in the LocalFileSource class. 
I'd frankly be in favor of eliminating Seek from the public API since "read 
range [possibly buffered]" and "write to stream" are the only really necessary 
operations. 

> InputStream and RandomAccessdSource classes are not threadsafe
> --------------------------------------------------------------
>
>                 Key: PARQUET-474
>                 URL: https://issues.apache.org/jira/browse/PARQUET-474
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>
> We need to ensure that files can be processed in multithreaded applications



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to