danny0405 commented on code in PR #11006:
URL: https://github.com/apache/hudi/pull/11006#discussion_r1566577832


##########
hudi-sync/hudi-sync-common/src/main/java/org/apache/hudi/sync/common/util/Parquet2SparkSchemaUtils.java:
##########
@@ -140,7 +141,7 @@ private static String convertGroupField(GroupType field) {
         ValidationUtils.checkArgument(field.getFieldCount() == 1, "Illegal 
List type: " + field);
         Type repeatedType = field.getType(0);
         if (isElementType(repeatedType, field.getName())) {
-          return arrayType(repeatedType, false);
+          return arrayType(repeatedType, true);

Review Comment:
   So you might need to validate option `spark.sql.sources.schema.numParts` set 
up within Hive I guess. And this option only affects the usage of Spark engine, 
should we fix the table schema instead where stored within the 
`hoodie.properties`?



-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to