voonhous commented on code in PR #17659:
URL: https://github.com/apache/hudi/pull/17659#discussion_r2670792495
##########
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HoodieHiveSyncClient.java:
##########
@@ -446,10 +446,10 @@ public List<FieldSchema> getMetastoreFieldSchemas(String
tableName) {
@Override
public List<FieldSchema> getStorageFieldSchemas() {
try {
- return tableSchemaResolver.getTableAvroSchema(false)
+ return tableSchemaResolver.getTableSchema(false)
.getFields()
.stream()
- .map(f -> new FieldSchema(f.name(), f.schema().getType().getName(),
f.doc()))
+ .map(f -> new FieldSchema(f.name(),
f.schema().getType().toAvroType().getName(), f.doc()))
Review Comment:
Yeap, removing.
--
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]