v1.6.0
Release 1.6.0 brings an important feature of Parquet that was missing so far - an ability to read a subset of columns from Parquet files. This is called schema projection. And now it is available in every module of Parquet4S. Check updated Readme for more.
A new feature implied the need of redesign of API. Core library just got a new function pointing to new reader but in Akka and FS2 module a new reader builders are introduced and those deprecate the old readers.
Moreover, recently introduced FS2 module received several API fixes that may be breaking for some. Unfortunately, those were required for consistency.
Full list of changes:
- core:
ParquetReader.withProjection[YourSchema]
that points to the reader that has schema projection applied
- akka:
ParquetStreams.fromParquet[YourSchema](path, options, filter)
is deprecated in favour of builder with the same name:ParquetStreams.fromParquet[YourSchema]
- fs2:
- function
parquet.read
is deprecated in favour of builderparquet.fromParquet
- trait of
Builder
used in API ofparquet.viaParquet
is moved torotatingWriter
package withPreWriteTransformation
inparquet.viaParquet
is replaced bypreWriteTransformation
for consistency- redundant dependency of
parquet.viaParquet
to implicitSync[F]
is removed as it has already dependency toConcurrent[F]
parquet.writeSingleFile
returns nowStream[F, fs2.INothing] instead of
Stream[F, Unit] in order to emphasise that it doesn't emit anything
- function