http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Is-it-possible-to-decide-the-order-of-where-conditions-in-Flink-SQL-tp29061p29068.html
Hi,
Thanks for your reply. I have tried both CTE and sql subquery, but it seems that sql plan
optimizer will do filter pushdown. Therefore, where conditions will end up being together in
physical plan.
However, the visualization of physical plans on Flink UI were different for these three SQL
query on their operations' name.
For the original SQL, it showed:
where: (AND(UDF_NEED_TO_QUERY_DB(user), NOT(user.is_robot))), select: (...)
For the CTE and subquery , it showed:
where: (AND(NOT(user.is_robot), UDF_NEED_TO_QUERY_DB(user))), select: (...)
Does this name for each operator of physical plan have any meaning to represent the
execution order of `where` conditions?
Best,
Tony Wei