xiarixiaoyao commented on code in PR #9743:
URL: https://github.com/apache/hudi/pull/9743#discussion_r1364850251
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/HoodieParquetFileFormatHelper.scala:
##########
@@ -33,8 +33,9 @@ object HoodieParquetFileFormatHelper {
val sparkRequestStructFields = requiredSchema.map(f => {
val requiredType = f.dataType
if (fileStructMap.contains(f.name) && !isDataTypeEqual(requiredType,
fileStructMap(f.name))) {
- implicitTypeChangeInfo.put(new
Integer(requiredSchema.fieldIndex(f.name)),
org.apache.hudi.common.util.collection.Pair.of(requiredType,
fileStructMap(f.name)))
- StructField(f.name, fileStructMap(f.name), f.nullable)
+ val readerType = addMissingFields(requiredType, fileStructMap(f.name))
Review Comment:
Flink cannot support these out of box schema evolutions. also need to adapt
to Flink
--
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]