Skip to content

feat: support ALP parquet encoding in writer options - #27036

Open
Surajsuthar wants to merge 2 commits into
apache:mainfrom
Surajsuthar:feat/added-alp-write-support
Open

Surajsuthar wants to merge 2 commits into
apache:mainfrom
Surajsuthar:feat/added-alp-write-support

Conversation

@Surajsuthar

Copy link
Copy Markdown

Add ALP to DataFusion's parquet encoding configuration, conversion, documentation, protobuf round-trip tests, and SQL writer coverage.

Important

Fork CI setup: For pull requests from a fork to main, enable workflows in your fork's Actions tab before you push.
See the fork CI setup guide.

Which issue does this PR close?

Rationale for this change

DataFusion could read ALP-encoded Parquet files but did not allow users
to select ALP when writing files.

What changes are included in this PR?

  • Add alp to DFParquetEncoding
  • Support ALP through SET datafusion.execution.parquet.encoding
  • Support ALP through format.encoding
  • Update configuration and SQL documentation
  • Add parser, conversion, protobuf, and SQLLogicTest coverage
  • Verify writing and reading ALP-encoded DOUBLE columns

What is the testing strategy for this PR?

Are there any user-facing changes?

Add ALP to DataFusion's parquet encoding configuration, conversion,
documentation, protobuf round-trip tests, and SQL writer coverage.
@github-actions github-actions Bot added documentation Improvements or additions to documentation sqllogictest SQL Logic Tests (.slt) common Related to common crate proto Related to proto crate labels Nov 3, 2026
@Surajsuthar

Copy link
Copy Markdown
Author

@alamb have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate documentation Improvements or additions to documentation proto Related to proto crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support the Parquet ALP encoding in the parquet writer options (format.encoding / datafusion.execution.parquet.encoding)

1 participant