abhishekagarwal87 commented on a change in pull request #12267:
URL: https://github.com/apache/druid/pull/12267#discussion_r809758821
##########
File path:
extensions-core/protobuf-extensions/src/main/java/org/apache/druid/data/input/protobuf/ProtobufReader.java
##########
@@ -88,7 +89,7 @@
{
Map<String, Object> record;
- if (flattenSpec == null) {
+ if (flattenSpec == null || JSONPathSpec.DEFAULT.equals(flattenSpec)) {
Review comment:
is it okay for us to use this path if flattenSpec is set to
```
{
useFieldDiscovery : true,
fields : []
}
```
because that is what will happen here.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]