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

ASF GitHub Bot commented on ARROW-2470:
---------------------------------------

pitrou opened a new pull request #1934: ARROW-2470: [C++] Avoid seeking in 
GetFileSize
URL: https://github.com/apache/arrow/pull/1934
 
 
   This makes GetFileSize thread-safe and also reduces its cost.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [C++] FileGetSize() should not seek
> -----------------------------------
>
>                 Key: ARROW-2470
>                 URL: https://issues.apache.org/jira/browse/ARROW-2470
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.9.0
>            Reporter: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> {{FileGetSize()}} currently seeks to the end of file and reads the current 
> file position. Instead it should simply call {{fstat}} on the file descriptor 
> (or the Windows equivalent).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to