This is an automated email from the ASF dual-hosted git repository.
etudenhoefner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 7dd01a367b Parquet: Deprecate readSupport and callInit in ReadBuilder
(#9325)
7dd01a367b is described below
commit 7dd01a367b220843773c730363d82091fb42d9e2
Author: Ryan Blue <[email protected]>
AuthorDate: Tue Jan 16 09:02:05 2024 -0800
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 f80810acdd..a19556c369 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 class Parquet {
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 class Parquet {
return this;
}
+ /** @deprecated will be removed in 2.0.0; use {@link
#createReaderFunc(Function)} instead */
+ @Deprecated
public ReadBuilder callInit() {
this.callInit = true;
return this;