FrankChen021 commented on code in PR #20664:
URL: https://github.com/apache/druid/pull/20664#discussion_r4357311194
##########
sql/src/test/java/org/apache/druid/sql/calcite/CalciteNestedDataQueryTest.java:
##########
@@ -6998,6 +6998,20 @@ public void testJsonQueryArrayNullArray()
.run();
}
+ @Test
+ public void testUnnestJsonQueryArrayOfConstantJson()
Review Comment:
this one that test against `ARRAY<COMPLEX<json>>` case, I think we can have
more test coverage for the complex arrays:
1. empty array constant
2. JSON path in JSON_QUERY_ARRAY references a non-exist path
3. a `ARRAY<ARRAY<COMPLEX<json>>>` case
--
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]