voonhous commented on code in PR #14382:
URL: https://github.com/apache/hudi/pull/14382#discussion_r2595112176
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/schema/FilebasedSchemaProvider.java:
##########
@@ -92,11 +93,25 @@ public FilebasedSchemaProvider(Configuration conf) {
}
@Override
+ public HoodieSchema getSourceHoodieSchema() {
Review Comment:
Done
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/schema/FilebasedSchemaProvider.java:
##########
@@ -92,11 +93,25 @@ public FilebasedSchemaProvider(Configuration conf) {
}
@Override
+ public HoodieSchema getSourceHoodieSchema() {
+ Schema schema = getSourceSchema();
+ return schema == null ? null : HoodieSchema.fromAvroSchema(schema);
+ }
+
+ @Override
+ @Deprecated
public Schema getSourceSchema() {
return sourceSchema;
}
@Override
+ public HoodieSchema getTargetHoodieSchema() {
Review Comment:
Done
--
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]