amrishlal commented on a change in pull request #6951: URL: https://github.com/apache/incubator-pinot/pull/6951#discussion_r637260354
########## File path: pinot-core/src/test/java/org/apache/pinot/queries/JsonDataTypeQueriesTest.java ########## @@ -302,6 +305,54 @@ public void testJsonMatchArrayWithIndex() { Assert.assertEquals(iterator.next()[0], "goofy"); } + @Test + public void testJsonMatchNestedArrayWithIndex() { Review comment: If you have a good suggestion for name, we can use that, otherwise can leave it as it is? ########## File path: pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/column/PhysicalColumnIndexContainer.java ########## @@ -180,7 +180,7 @@ public PhysicalColumnIndexContainer(SegmentDirectory.Reader segmentReader, Colum } } else { // Raw index - _forwardIndex = loadRawForwardIndex(fwdIndexBuffer, metadata.getDataType()); + _forwardIndex = loadRawForwardIndex(fwdIndexBuffer, metadata.getDataType().getStoredType()); Review comment: ok -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org