stevomitric commented on code in PR #56407:
URL: https://github.com/apache/spark/pull/56407#discussion_r3402142764
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetWriteSupport.scala:
##########
@@ -188,6 +189,12 @@ class ParquetWriteSupport extends
WriteSupport[InternalRow] with Logging {
}
}
+ private def timestampNanosToEpochNanos(value: TimestampNanosVal): Long = {
Review Comment:
added QueryExecutionErrors.parquetTimestampNanosOverflowError which rethrows
as DATETIME_OVERFLOW
##########
sql/core/src/test/scala/org/apache/spark/sql/FileBasedDataSourceSuite.scala:
##########
@@ -1337,8 +1337,9 @@ class FileBasedDataSourceSuite extends SharedSparkSession
}
test("SPARK-57166: nanosecond timestamp types are not supported in file data
sources") {
Review Comment:
renamed.
--
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]