asolimando commented on a change in pull request #2230:
URL: https://github.com/apache/calcite/pull/2230#discussion_r512186949
##########
File path:
core/src/test/java/org/apache/calcite/sql/test/SqlOperatorBaseTest.java
##########
@@ -8093,6 +8094,23 @@ void checkArrayConcatAggFuncFails(SqlTester t) {
tester.checkColumnType(
"select cast(null as any)['x'] from (values(1))",
"ANY");
+
+ // Row item
+ final String intStructQuery = "select \"T\".\"X\"[1] "
+ + "from (VALUES (ROW(ROW(3, 7), ROW(4, 8)))) as T(x, y)";
+ tester.check(intStructQuery, SqlTests.INTEGER_TYPE_CHECKER, 3, 0);
Review comment:
I have replied at the ticket comment so that it's more visible.
----------------------------------------------------------------
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:
[email protected]