uros-b commented on code in PR #56422:
URL: https://github.com/apache/spark/pull/56422#discussion_r3936121548


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2082,6 +2082,19 @@ object SQLConf {
       .booleanConf
       .createWithDefault(true)
 
+  val PARQUET_TIME_TYPE_ALLOW_IS_ADJUSTED_TO_UTC_READ =
+    buildConf("spark.sql.parquet.timeType.allowIsAdjustedToUtcRead")
+      .doc("When true, Spark infers Parquet TIME(MICROS,isAdjustedToUTC=true) 
columns as " +
+        "TimeType during schema inference, for compatibility with writers such 
as Apache Arrow. " +
+        "When false (default), schema inference rejects such columns with an 
error. This only " +
+        "affects schema inference: a read with an explicit user-specified 
TimeType schema " +
+        "succeeds regardless of this flag, since Spark's zone-less TimeType 
decodes the same " +
+        "time-of-day either way.")
+      .version("4.3.0")

Review Comment:
   ```suggestion
         .version("4.4.0")
   ```



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

Reply via email to