clintropolis commented on code in PR #13803:
URL: https://github.com/apache/druid/pull/13803#discussion_r1141629174
##########
processing/src/main/java/org/apache/druid/segment/nested/CompressedNestedDataComplexColumn.java:
##########
@@ -426,6 +765,12 @@ public ColumnIndexSupplier
getColumnIndexSupplier(List<NestedPathPart> path)
{
final String field = getField(path);
if (fields.indexOf(field) < 0) {
+ if (!path.isEmpty() && path.get(path.size() - 1) instanceof
NestedPathArrayElement) {
+ final String arrayField = getField(path.subList(0, path.size() - 1));
+ if (fields.indexOf(arrayField) >= 0) {
+ return NoIndexesColumnIndexSupplier.getInstance();
+ }
Review Comment:
no, we are writing out some value indexes for both whole arrays and
individual elements, I just haven't wired everything up to native filters yet
to take advantage of them so i'm forcing it to use value matchers until then so
they work correctly
--
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]