JingsongLi commented on code in PR #6152:
URL: https://github.com/apache/paimon/pull/6152#discussion_r2302717580


##########
paimon-format/src/main/java/org/apache/paimon/format/parquet/ParquetReaderFactory.java:
##########
@@ -115,8 +117,20 @@ public FileRecordReader<InternalRow> 
createReader(FormatReaderFactory.Context co
         MessageColumnIO columnIO = new 
ColumnIOFactory().getColumnIO(requestedSchema);
         List<ParquetField> fields = buildFieldsList(readFields, columnIO, 
shreddingSchemas);
 
+        boolean timezoneConversionEnabled = 
TimezoneOptionUtils.isEnabled(conf);
+        String sourceTz = timezoneConversionEnabled ? "UTC" : null;
+        String targetTz = timezoneConversionEnabled ? 
ZoneId.systemDefault().getId() : null;
+
         return new VectorizedParquetRecordReader(
-                context.filePath(), reader, fileSchema, fields, 
writableVectors, batchSize);
+                context.filePath(),
+                reader,
+                fileSchema,
+                fields,
+                writableVectors,
+                batchSize,
+                timezoneConversionEnabled,

Review Comment:
   Just pass a arguement: `adjustInt96Timestamp`.



-- 
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]

Reply via email to