From 4ee13e18d4115a92cc353648a37678878b001afd Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Tue, 16 Jan 2024 09:02:05 -0800 Subject: [PATCH] Parquet: Deprecate readSupport and callInit in ReadBuilder (#9325) --- parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java b/parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java index f80810acdd7f..a19556c369ae 100644 --- a/parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java +++ b/parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java @@ -1063,6 +1063,8 @@ public ReadBuilder filter(Expression newFilter) { return this; } + /** @deprecated will be removed in 2.0.0; use {@link #createReaderFunc(Function)} instead */ + @Deprecated public ReadBuilder readSupport(ReadSupport newFilterSupport) { this.readSupport = newFilterSupport; return this; @@ -1090,6 +1092,8 @@ public ReadBuilder set(String key, String value) { return this; } + /** @deprecated will be removed in 2.0.0; use {@link #createReaderFunc(Function)} instead */ + @Deprecated public ReadBuilder callInit() { this.callInit = true; return this;