fsk119 commented on a change in pull request #13631:
URL: https://github.com/apache/flink/pull/13631#discussion_r506037128



##########
File path: 
flink-table/flink-table-planner-blink/src/test/java/org/apache/flink/table/planner/plan/rules/logical/PushProjectIntoTableSourceScanRuleTest.java
##########
@@ -107,4 +96,13 @@ private void testNestedProject(boolean 
nestedProjectionSupported) {
                util().verifyPlan(sqlQuery);
        }
 
+       @Test
+       public void testComplicatedNestedProject() {
+               String sqlQuery = "SELECT id," +
+                               "    deepNested.nested1.name AS nestedName,\n" +
+                               "    deepNested.nested2 AS nested2,\n" +
+                               "    deepNested.nested2.num AS nestedNum\n" +
+                               "FROM NestedTable";
+               util().verifyPlan(sqlQuery);

Review comment:
       Add test with calculation in query.




----------------------------------------------------------------
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


Reply via email to