REST: Support table encryption with server-side scan planning

Open
#19,198 3 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@smaheshwar-pltr is already working on this.

Since Nov 30, 2026.

  • #19202 by @smaheshwar-pltr — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
backend, databases

Research direction

Read the RESTCatalog client-side encryption work in #13225 and the scan-planning specification's content file entry for key-metadata. Then trace REST scan planning where manifest lists and manifests are read and file IO is wrapped; the issue calls out server-side KMS decryption and testing as open details. Done means REST server-side scan planning supports encrypted tables and has coverage for server-side decryption.

Written by the indexing model from the issue text.

Description

improvement
Feature Request / Improvement

#13225 adds client-side table encryption to RESTCatalog, but doesn't integrate it with server-side scan planning. This replaces #16192.

Data file key metadata already comes back in the planned tasks (key-metadata in the spec's content file) - see #13225 for more discussions - but there are some details:

  • Server-side KMS access to decrypt manifest lists and manifests on the server while planning
  • Wrapping of file IO (just as we have to wrap file IO with encrypting IO in various places for encryption, those REST scan planning entities may also require wrapping)
  • Testing, given server-side decryption is required, is slightly tricky. We could actually use #13225 itself to decrypt on the server-side.
Query engine

None

Willingness to contribute
  • I can contribute this improvement/feature independently
  • I would be willing to contribute this improvement/feature with guidance from the Iceberg community
  • I cannot contribute this improvement/feature at this time
Dominant language
Java
Stars
9.5k
Forks
3.7k
Avg merge
2d 2h
Merged PRs (30d)
170

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iceberg

All issues in apache/iceberg

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.