mirror of
https://github.com/apache/druid.git
synced 2025-02-17 07:25:02 +00:00
Suppress JsonPath exceptions in AvroFlattener (#5793)
Re: #5791 - Make the AvroFlattenerMake consistent with the JSONFlattenerMaker
This commit is contained in:
parent
dc67b77ec2
commit
1f700bb880
@ -44,7 +44,7 @@ public class AvroFlattenerMaker implements ObjectFlatteners.FlattenerMaker<Gener
|
||||
Configuration.builder()
|
||||
.jsonProvider(new GenericAvroJsonProvider())
|
||||
.mappingProvider(new GenericAvroMappingProvider())
|
||||
.options(EnumSet.noneOf(Option.class))
|
||||
.options(EnumSet.of(Option.SUPPRESS_EXCEPTIONS))
|
||||
.build();
|
||||
|
||||
private static final EnumSet<Schema.Type> ROOT_TYPES = EnumSet.of(
|
||||
|
Loading…
x
Reference in New Issue
Block a user