dejankrak-db commented on code in PR #59305:
URL: https://github.com/apache/spark/pull/59305#discussion_r4287546875


##########
sql/api/src/main/scala/org/apache/spark/sql/types/DataType.scala:
##########
@@ -344,6 +345,16 @@ object DataType {
           TimestampNTZNanosType(p)
         }
       case "timestamp_ltz" => TimestampType
+      case FILE_TYPE(mode) =>
+        // A bare `"file"` has no mode: inside a StructField it is an external 
file, which is also
+        // what a schema written without any mode means; elsewhere it is an 
unknown one, as when a
+        // UDF's return type is serialized as a bare `"file"`.

Review Comment:
   Thanks, applied the suggested wording in 630ce90f898. Decoding is unchanged.



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