nastra commented on code in PR #7587:
URL: https://github.com/apache/iceberg/pull/7587#discussion_r1191934971
##########
spark/v3.4/spark/src/jmh/java/org/apache/iceberg/spark/data/parquet/SparkParquetReadersFlatDataBenchmark.java:
##########
@@ -214,6 +216,8 @@ public void readWithProjectionUsingSparkReader(Blackhole
blackhole) throws IOExc
.set("spark.sql.parquet.binaryAsString", "false")
.set("spark.sql.parquet.int96AsTimestamp", "false")
.set("spark.sql.caseSensitive", "false")
+ .set("spark.sql.parquet.inferTimestampNTZ.enabled", "false")
+ .set("spark.sql.legacy.parquet.nanosAsLong", "false")
Review Comment:
it seems that `spark.sql.legacy.parquet.nanosAsLong` might be required for
our Spark
[3.3](https://github.com/apache/spark/blame/v3.2.4/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaConverter.scala)
+
[3.2](https://github.com/apache/spark/blame/v3.3.2/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaConverter.scala#L70)
benchmarks as well
--
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]