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

Deepak Majeti commented on PARQUET-474:
---------------------------------------

It makes sense to replace the {{Seek}} with a {{ReadAt}} in the public API. It 
will simplify your locking of the LocalFileSource class. 
Looking at the parquet code, it looks like {{Seek}} is used only in the 
sequential parts. I am guessing you will need to lock only the {{Read}} call, 
in which case the API need not change.

> 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