gatorsmile commented on a change in pull request #29451:
URL: https://github.com/apache/spark/pull/29451#discussion_r481562683
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaConverter.scala
##########
@@ -225,10 +225,6 @@ class ParquetToSparkSchemaConverter(
s"Invalid map type: $field")
val keyType = keyValueType.getType(0)
- ParquetSchemaConverter.checkConversionRequirement(
- keyType.isPrimitive,
- s"Map key type is expected to be a primitive type, but found:
$keyType")
-
Review comment:
CC @liancheng can you take a look?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]