FrankChen021 commented on code in PR #12177:
URL: https://github.com/apache/druid/pull/12177#discussion_r985040098
##########
core/src/main/java/org/apache/druid/java/util/common/parsers/ObjectFlatteners.java:
##########
@@ -231,6 +235,11 @@ public Map<String, Object> toMap(T obj)
*/
Function<T, Object> makeJsonQueryExtractor(String expr);
+ /**
+ * Create a "field" extractor for nested json expressions
+ */
+ Function<T, Object> makeJsonTreeExtractor(List<String> nodes);
Review Comment:
Do we need to care about an interface which is not marked as
`ExtensionPoint`? Although we can add a default implementation for this
interface. Another question is should we mark it as `ExtensionPoint`?
--
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]