Skip to content

Commit aeb8b4f

Browse files
committed
update
1 parent 9f1259a commit aeb8b4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

parquet-hadoop/src/main/java/org/apache/parquet/hadoop/example/ValidatingUnsignedIntegerRecordConsumer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ public Optional<Void> visit(LogicalTypeAnnotation.IntLogicalTypeAnnotation intTy
142142
break;
143143
case 16:
144144
if (value < 0 || value > 65535) {
145-
throw new InvalidRecordException("Value " + value
146-
+ " is out of range for UINT_16 (0-65535) in field " + currentType.getName());
145+
throw new InvalidRecordException(
146+
"Value " + value + " is out of range for UINT_16 (0-65535) in field "
147+
+ currentType.getName());
147148
}
148149
break;
149150
case 32:

0 commit comments

Comments
 (0)