Source changes - FishEye

Shows the 20 most recent commits for Parquet.

Padma Penumarthy <ppenumar97@yahoo.com> committed 9cf6faa7aa834c7ba654ce956c8b523ff3464658 (1 file)
Reviews: none

DRILL-5587: Validate Parquet blockSize and pageSize configured with SYSTEM/SESSION option
close #852

Vitalii Diravka <vitalii.diravka@gmail.com> committed b714b2d74f80755d02de87b3151d94cb9cfc6794 (4 files)
Padma Penumarthy <ppenumar97@yahoo.com> committed 9ab91ff2640a8e89b92869d7dbb15acb9b602cd3 (4 files)
Reviews: none

DRILL-5379: Set Hdfs Block Size based on Parquet Block Size
Provide an option to specify blocksize during file creation.
This will help create parquet files with single block on HDFS, helping improve performance when we read those files.

See DRILL-5379 for details.

closes #826

Vitalii Diravka <vitalii.diravka@gmail.com> committed 964a947315c31571954c1f4f56ac3336ac7bbcda (9 files)
Paul Rogers <progers@maprtech.com> committed 676ea889bb69e9e0a733cab29665236d066bd1ab (17 files)
Reviews: none

DRILL-5356: Refactor Parquet Record Reader
The Parquet reader is Drill's premier data source and has worked very well
for many years. As with any piece of code, it has grown in complexity over
that time and has become hard to understand and maintain.

In work in another project, we found that Parquet is accidentally creating
"low density" batches: record batches with little actual data compared to
the amount of memory allocated. We'd like to fix that.

However, the current complexity of the reader code creates a barrier to
making improvements: the code is so complex that it is often better to
leave bugs unfixed, or risk spending large amounts of time struggling to
make small changes.

This commit offers to help revitalize the Parquet reader. Functionality is
identical to the code in master; but code has been pulled apart into
various classes each of which focuses on one part of the task: building
up a schema, keeping track of read state, a strategy for reading various
combinations of records, etc. The idea is that it is easier to understand
several small, focused classes than one huge, complex class. Indeed, the
idea of small, focused classes is common in the industry; it is nothing new.

Unit tests pass with the change. Since no logic has chanaged, we only moved
lines of code, that is a good indication that everything still works.

Also includes fixes based on review comments.

closes #789

drill master
Parth Chandra <pchandra@maprtech.com> committed 1766ffc4960e8f7c1efc981a9302688a8c6cd427 (1 file)
Reviews: none

DRILL-5349: Fix TestParquetWriter unit tests when synchronous parquet reader is used.
close apache/drill#780

Paul Rogers <progers@maprtech.com> committed 79811db5aa8c7f2cdbe6f74c0a40124bea9fb1fd (23 files)
Reviews: none

DRILL-5284: Roll-up of final fixes for managed sort
See subtasks for details.

* Provide detailed, accurate estimate of size consumed by a record batch
* Managed external sort spills too often with Parquet data
* Managed External Sort fails with OOM
* External sort refers to the deprecated HDFS fs.default.name param
* Config param drill.exec.sort.external.batch.size is not used
* NPE in managed external sort while spilling to disk
* External Sort BatchGroup leaks memory if an OOM occurs during read
* DRILL-5294: Under certain low-memory conditions, need to force the sort to merge
two batches to make progress, even though this is a bit more than
comfortably fits into memory.

close #761

drill 1.10.0
Parth Chandra <pchandra@maprtech.com> committed 152c87aa6cad84c8752b4a87967c7826cc90dbaa (2 files)
Reviews: none

DRILL-5351: Minimize bounds checking in var len vectors for Parquet reader
close #781

Arina Ielchiieva <arina.yelchiyeva@gmail.com> committed f80d77e6bb60afc562331192ac5d08545c1f1c02 (1 file)
Reviews: none

DRILL-5040: Parquet writer unable to delete table folder on abort
close apache/drill#744

Parth Chandra <pchandra@maprtech.com> committed ddcf89548bd33c0cd3e062f1f6d5027eed822372 (1 file)
Reviews: none

DRILL-5240: Parquet - fix unnecessary object creation while checking for null values in nullable var length columns
This closes #740

Paul Rogers <progers@maprtech.com> committed 38f816a45924654efd085bf7f1da7d97a4a51e38 (2 files)
Reviews: none

DRILL-5157: Multiple Snappy versions on class path
Multiple Snappy versions on class path; causes unit test failures.

This fix updates the Snappy library and adds dependency management to
exclude older versions brought in by Avro and Parquet.

Parth Chandra <parthc@apache.org> committed 052010108a47856f9b1a3c0c470b6572948dc749 (12 files)
Reviews: none

DRILL-5207: Improve Parquet Scan pipelining. Add a configurable AsyncPageReader Queue. Enforce total size of parquet row group. Do not initialize BufferedDirectBufInputStream buffer in init. Wait for first read. Change default size of BufferedDirectBufInputStream. Do not invoke getOptions too many times in Parquet reader. Add metrics for processing time, and decoding time for varlen and fixedlen columns.
This closes #723

Vitalii Diravka <vitalii.diravka@gmail.com> committed eef3b3fb6f4e76e95510253d155d0659e387fc99 (3 files)
Reviews: none

DRILL-4996: Parquet Date auto-correction is not working in auto-partitioned parquet files generated by drill-1.6
- Changed detection approach of corrupted date values for the case, when parquet files are generated by drill:
  the corruption status is determined by looking at the min/max values in the metadata;
- Appropriate refactoring of TestCorruptParquetDateCorrection.

This closes #687

Vitalii Diravka <vitalii.diravka@gmail.com> committed 4a0fd56c106550eee26ca68eaed6108f0dbad798 (7 files)
Sudheesh Katkam <sudheesh@apache.org> committed ae0608b5c4b5ef9f897d6bc3a51f00f0b985bd60 (15 files)
Reviews: none

Revert "DRILL-4373: Drill and Hive have incompatible timestamp representations in parquet - added sys/sess option "store.parquet.int96_as_timestamp"; - added int96 to timestamp converter for both readers; - added unit tests;"
This reverts commit 7e7214b40784668d1599f265067f789aedb6cf86.

drill 1.9.0
Parth Chandra <parthc@apache.org> committed 4b1902c042d3e8f426f54ec04b78813ac64aa120 (2 files)
Reviews: none

DRILL-5009: Skip reading of empty row groups while reading Parquet metadata
+ We will no longer attempt to scan such row groups.

closes #651