Skip to content

Commit f62b2c0

Browse files
authored
MINOR: Fix error message in SimpleGroup.add() for binary (#3385)
1 parent 4147bc6 commit f62b2c0

File tree

1 file changed

+1
-1
lines changed
  • parquet-column/src/main/java/org/apache/parquet/example/data/simple

1 file changed

+1
-1
lines changed

parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public void add(int fieldIndex, Binary value) {
230230
break;
231231
default:
232232
throw new UnsupportedOperationException(
233-
getType().asPrimitiveType().getName() + " not supported for Binary");
233+
getType().getType(fieldIndex).asPrimitiveType().getName() + " not supported for Binary");
234234
}
235235
}
236236

0 commit comments

Comments
 (0)