asfimport commented on issue #398:
URL: https://github.com/apache/parquet-format/issues/398#issuecomment-2184154063

   [Yujiang 
Zhong](https://issues.apache.org/jira/browse/PARQUET-2160?#comment-17575529) / 
@zhongyujiang:
   > What about query performance? was it affected too since it now incurs an 
extra copy.
   @sunchao 
   
   It does not add an extra copy actually,  BytesInput#copy  reads bytes from 
the input stream and constructs a ByteArrayBytesInput as return,  these bytes 
will be wrapped as ByteByffer later to construct a ByteBufferInputStream. This 
is the same as the current process, just that bytes are read in advance. I had 
run some queries to test (not strict benchmark) and the results show that there 
is no performance loss.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to