cgivre opened a new pull request #2024: DRILL-7641 Convert Excel Reader to use 
Streaming Reader
URL: https://github.com/apache/drill/pull/2024
 
 
   # [DRILL-7641](https://issues.apache.org/jira/browse/DRILL-7641): Convert 
Excel Reader to use Streaming Reader
   
   ## Description
   The current implementation of the Excel reader uses the Apache POI reader, 
which uses excessive amounts of memory. As a result, attempting to read large 
Excel files will cause out of memory errors. 
   This PR converts the format plugin to use a streaming reader, based still on 
the POI library.  The documentation for the streaming reader can be found here. 
[1]. This library was billed as a drop in replacement for the POI reader, 
however I had to make some minor changes to the batch reader to get this to 
work.  Minor code cleanup as well. 
   
   [1]: https://github.com/pjfanning/excel-streaming-reader
   
   ## Documentation
   No user visible changes.
   
   ## Testing
   All unit tests from the original plugin pass.  Additionally, I tested this 
with large Excel files on my local machine and Drill was able to query them 
whereas before this PR, Drill would run out of memory.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to