Skip to content

Commit

Permalink
[MINOR] Schema Converter should use default identity transform if not…
Browse files Browse the repository at this point in the history
… specified (#10178)
  • Loading branch information
the-other-tim-brown authored Nov 28, 2023
1 parent fb062df commit 675abf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public interface SchemaConverter {
public Schema parseSchemaFromRegistry(String registryUrl) {
String schema = fetchSchemaFromRegistry(registryUrl);
try {
String schemaConverter = getStringWithAltKeys(config, HoodieSchemaProviderConfig.SCHEMA_CONVERTER);
String schemaConverter = getStringWithAltKeys(config, HoodieSchemaProviderConfig.SCHEMA_CONVERTER, true);
SchemaConverter converter = !StringUtils.isNullOrEmpty(schemaConverter)
? ReflectionUtils.loadClass(schemaConverter)
: s -> s;
Expand Down

0 comments on commit 675abf1

Please sign in to comment.