ZiyaZa commented on code in PR #52922:
URL: https://github.com/apache/spark/pull/52922#discussion_r2500584208
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaConverter.scala:
##########
@@ -836,6 +838,10 @@ class SparkToParquetSchemaConverter(
case udt: UserDefinedType[_] =>
convertField(field.copy(dataType = udt.sqlType), inShredded)
+ case NullType => // Selected primitive type here doesn't have
significance.
Review Comment:
Parquet spec does not specify which Physical type should be used with the
UNKNOWN type, so it can be put on any physical type.
--
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]