swuferhong commented on code in PR #22049:
URL: https://github.com/apache/flink/pull/22049#discussion_r1135073462


##########
flink-table/flink-table-planner/src/test/resources/org/apache/flink/table/planner/plan/batch/sql/MultipleInputCreationTest.xml:
##########
@@ -136,11 +136,9 @@ LogicalProject(a=[$0], d=[$1], e=[$2], f=[$3], ny=[$4], 
a0=[$5], b=[$6], c=[$7])
       <![CDATA[
 MultipleInput(readOrder=[0,0,1], 
members=[\nNestedLoopJoin(joinType=[LeftOuterJoin], where=[(a = a0)], 
select=[a, d, e, f, ny, a0, b, c], build=[right])\n:- 
NestedLoopJoin(joinType=[LeftOuterJoin], where=[(a = d)], select=[a, d, e, f, 
ny], build=[right])\n:  :- Calc(select=[a], where=[(a > 10)])\n:  :  +- [#3] 
BoundedStreamScan(table=[[default_catalog, default_database, chainable]], 
fields=[a])\n:  +- [#2] Exchange(distribution=[broadcast])\n+- [#1] 
Exchange(distribution=[broadcast])\n])
 :- Exchange(distribution=[broadcast])
-:  +- Calc(select=[a, b, c], where=[(a > 10)])

Review Comment:
   > why the left side filters can not be pushed down ?
   
   this case is :
   
   `SELECT * FROM chainable
     LEFT JOIN y ON chainable.a = y.d
     LEFT JOIN t ON chainable.a = t.a
     WHERE chainable.a > 10`
   
   It will be push down to chainable, but don‘t push down to y and t.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to