davidradl commented on code in PR #79:
URL: 
https://github.com/apache/flink-connector-jdbc/pull/79#discussion_r1398950117


##########
flink-connector-jdbc/src/test/java/org/apache/flink/connector/jdbc/table/JdbcTablePlanTest.java:
##########
@@ -64,4 +82,14 @@ public void testFilterPushdown() {
         util.verifyExecPlan(
                 "SELECT id, time_col, real_col FROM jdbc WHERE id = 900001 AND 
time_col <> TIME '11:11:11' OR double_col >= -1000.23");
     }
+
+    @Test
+    /**
+     * Note the join condition is not present in the optimized plan, as it is 
handled in the JDBC java code,
+     * where it adds the join conditions to the select statement string.
+     */

Review Comment:
   Ok that is interesting, though I wonder if the optimisation plan could be 
aware of what the connector supports, so it could optimize all the supported 
pushdowns in the main Flink code. Or are there more variation between the way 
that different databases do predicate pushdowns and the like. 



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

Reply via email to