huaxingao commented on a change in pull request #35256:
URL: https://github.com/apache/spark/pull/35256#discussion_r789117026
##########
File path:
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedParquetRecordReader.java
##########
@@ -139,14 +142,34 @@ public VectorizedParquetRecordReader(
String int96RebaseMode,
String int96RebaseTz,
boolean useOffHeap,
- int capacity) {
+ int capacity,
+ int limit) {
+ this.convertTz = convertTz;
+ this.datetimeRebaseMode = datetimeRebaseMode;
+ this.datetimeRebaseTz = datetimeRebaseTz;
+ this.int96RebaseMode = int96RebaseMode;
+ this.int96RebaseTz = int96RebaseTz;
+ MEMORY_MODE = useOffHeap ? MemoryMode.OFF_HEAP : MemoryMode.ON_HEAP;
+ this.capacity = capacity;
+ this.limit = limit;
+ }
+
+ public VectorizedParquetRecordReader(
+ ZoneId convertTz,
Review comment:
4-space indentation
--
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]