Skip to content

Core: Remove deprecated DataReader in favor of PlannedDataReader - #17699

Open
dramaticlly wants to merge 1 commit into
apache:mainfrom
dramaticlly:1.12deprecation-core-datareader
Open

Core: Remove deprecated DataReader in favor of PlannedDataReader#17699
dramaticlly wants to merge 1 commit into
apache:mainfrom
dramaticlly:1.12deprecation-core-datareader

Conversation

@dramaticlly

Copy link
Copy Markdown
Contributor

Removes Avro read paths deprecated for removal in 1.12.0:

  • org.apache.iceberg.data.avro.DataReader (class) → PlannedDataReader
  • RawDecoder(Schema, Function<Schema, DatumReader<?>>, Schema)RawDecoder.create(Schema, Function, Schema)

Neither has any remaining reference in main or test sources. TestDataReader is removed along with the class it covered; PlannedDataReader has its own coverage.

Split out of #16449 to reduce reviewer burden.

AI Disclosure

Model: Claude Opus 5 (1M context)
Platform/Tool: Claude Code
Human Oversight: reviewed
Prompt Summary: split #16449 into smaller self-contained PRs; verify each group compiles and tests green standalone

DataReader was deprecated for removal in 1.12.0; PlannedDataReader is the
replacement. Also removes the deprecated RawDecoder constructor that took
a read schema and reader function, superseded by
RawDecoder.create(Schema, Function, Schema).

No remaining references to either. TestDataReader is removed along with
the class it covered; PlannedDataReader has its own coverage in
TestPlannedDataReader.
@github-actions github-actions Bot added the core label Aug 17, 2026
@dramaticlly

Copy link
Copy Markdown
Contributor Author

@gaborkaszab can you help check for removal match the expectation of #14387

@uros-b

uros-b commented Aug 18, 2026

Copy link
Copy Markdown
Member

+1!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants