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

gangwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git


The following commit(s) were added to refs/heads/master by this push:
     new f62b2c058 MINOR: Fix error message in SimpleGroup.add() for binary 
(#3385)
f62b2c058 is described below

commit f62b2c058a8eded070cf5be87b3406f763a172b6
Author: Naoki Takezoe <[email protected]>
AuthorDate: Fri Jan 9 00:21:37 2026 +0900

    MINOR: Fix error message in SimpleGroup.add() for binary (#3385)
---
 .../main/java/org/apache/parquet/example/data/simple/SimpleGroup.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java
 
b/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java
index 763208139..5f4873220 100644
--- 
a/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java
+++ 
b/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java
@@ -230,7 +230,7 @@ public class SimpleGroup extends Group {
         break;
       default:
         throw new UnsupportedOperationException(
-            getType().asPrimitiveType().getName() + " not supported for 
Binary");
+            getType().getType(fieldIndex).asPrimitiveType().getName() + " not 
supported for Binary");
     }
   }
 

Reply via email to