Skip to content

Commit

Permalink
Parquet: Deprecate readSupport and callInit in ReadBuilder (apache#9325)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdblue authored and geruh committed Jan 25, 2024
1 parent fc808fa commit 4ee13e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4ee13e1

Please sign in to comment.