spotify/dbeam

Support for parquet format

fuyi opened this issue · 1 comments

fuyi commented

Is there any plan to add Apache Parquet file format besides Avro?

No plans yet.

It would be nice if DBeam supported more flexible output formats. A few examples other than Avro could be: Parquet, CSV, Proto, ...

DBeam is build on top of Beam SDK and should support more formats and runners. But so far its main use case has been writing Avro files to GCS via DataflowRunner. Only recently there has been better support for Parquet and other columnar formats on GCS.

I think it is worth to look into supporting Parquet in the coming months or years.


A few open questions when designing parquet support:

  • Should there be equivalent JdbcParquetJob, JdbcParquetIO, etc classes?
  • Should it be part of dbeam-core? Or a separate package? Or a separate project/repository?
  • Can Parquet support be built without the need for parquet-mr and hadoop? Those libraries bring many dependencies, some with vulnerabilities. It would be interesting to see if parquet support could be built using Arrow, some Trino libraries, or something else.