alexeykudinkin commented on code in PR #8026:
URL: https://github.com/apache/hudi/pull/8026#discussion_r1116010686
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieBaseRelation.scala:
##########
@@ -155,12 +158,13 @@ abstract class HoodieBaseRelation(val sqlContext:
SQLContext,
}
}
+ val avroNameAndSpace =
AvroConversionUtils.getAvroRecordNameAndNamespace(tableName)
val avroSchema = internalSchemaOpt.map { is =>
- AvroInternalSchemaConverter.convert(is, "schema")
+ AvroInternalSchemaConverter.convert(is, avroNameAndSpace._2 + "." +
avroNameAndSpace._1)
Review Comment:
For the context: this name/namespace are actually generated from the table
name so that qualified name is no better than the previous one (using just
"schema").
We need to understand the real root-cause of the issue
--
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]