sunchao commented on a change in pull request #35163:
URL: https://github.com/apache/spark/pull/35163#discussion_r783657432
##########
File path:
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedRleValuesReader.java
##########
@@ -407,7 +426,7 @@ public void skipIntegers(int total) {
@Override
public void skipBooleans(int total) {
- throw new UnsupportedOperationException("only skipIntegers is valid");
+ skipIntegers(total);
Review comment:
nit: maybe create another method like `skipN` and have `skipIntegers`
and `skipBooleans` share it? it's a bit confusing when first reading this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]