This is an automated email from the ASF dual-hosted git repository.

huaxingao 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 49890ed38d Parquet: Fix incorrect JavaDoc parameter descriptions in 
TripleWriter (#13784)
49890ed38d is described below

commit 49890ed38d59a28b85e750d81ecf96403b2a6ca9
Author: JiHo Kim <sokoji...@gmail.com>
AuthorDate: Wed Aug 13 02:25:51 2025 +0900

    Parquet: Fix incorrect JavaDoc parameter descriptions in TripleWriter 
(#13784)
    
    Fixed copy-paste errors in JavaDoc @param descriptions for type-specific 
write methods.
    All methods incorrectly described their parameter as 'the boolean value' 
when they
    should describe the actual type being written (integer, long, float, 
double, binary).
    
    This is a documentation-only change with no functional impact.
---
 .../src/main/java/org/apache/iceberg/parquet/TripleWriter.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/parquet/src/main/java/org/apache/iceberg/parquet/TripleWriter.java 
b/parquet/src/main/java/org/apache/iceberg/parquet/TripleWriter.java
index 99cca80e1f..20a470c35c 100644
--- a/parquet/src/main/java/org/apache/iceberg/parquet/TripleWriter.java
+++ b/parquet/src/main/java/org/apache/iceberg/parquet/TripleWriter.java
@@ -45,7 +45,7 @@ public interface TripleWriter<T> {
    * Write a triple.
    *
    * @param rl repetition level
-   * @param value the boolean value
+   * @param value the integer value
    */
   default void writeInteger(int rl, int value) {
     throw new UnsupportedOperationException("Not an integer column");
@@ -55,7 +55,7 @@ public interface TripleWriter<T> {
    * Write a triple.
    *
    * @param rl repetition level
-   * @param value the boolean value
+   * @param value the long value
    */
   default void writeLong(int rl, long value) {
     throw new UnsupportedOperationException("Not an long column");
@@ -65,7 +65,7 @@ public interface TripleWriter<T> {
    * Write a triple.
    *
    * @param rl repetition level
-   * @param value the boolean value
+   * @param value the float value
    */
   default void writeFloat(int rl, float value) {
     throw new UnsupportedOperationException("Not an float column");
@@ -75,7 +75,7 @@ public interface TripleWriter<T> {
    * Write a triple.
    *
    * @param rl repetition level
-   * @param value the boolean value
+   * @param value the double value
    */
   default void writeDouble(int rl, double value) {
     throw new UnsupportedOperationException("Not an double column");
@@ -85,7 +85,7 @@ public interface TripleWriter<T> {
    * Write a triple.
    *
    * @param rl repetition level
-   * @param value the boolean value
+   * @param value the binary value
    */
   default void writeBinary(int rl, Binary value) {
     throw new UnsupportedOperationException("Not an binary column");

Reply via email to