MaxGekk commented on code in PR #56158:
URL: https://github.com/apache/spark/pull/56158#discussion_r3319845524
##########
sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java:
##########
@@ -789,6 +789,29 @@ public void testLocalDateTimeEncoder() {
Assertions.assertEquals(data, ds.collectAsList());
}
+ @Test
+ public void testTimestampNanosRowEncoder() {
+ spark.conf().set("spark.sql.timestampNanosTypes.enabled", "true");
Review Comment:
Removed the explicit spark.conf().set(...) / try-finally /
spark.conf().unset(...) since spark.sql.timestampNanosTypes.enabled defaults to
Utils.isTesting (true) in the test environment. The test body is unchanged,
just unwrapped.
--
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]