[
https://issues.apache.org/jira/browse/FLINK-19675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-19675:
-----------------------------------
Labels: pull-request-available (was: )
> The plan of is incorrect when Calc contains WHERE clause, composite fields
> access and Python UDF at the same time
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-19675
> URL: https://issues.apache.org/jira/browse/FLINK-19675
> Project: Flink
> Issue Type: Bug
> Components: API / Python
> Affects Versions: 1.10.1, 1.11.0
> Reporter: Dian Fu
> Assignee: Dian Fu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0, 1.10.3, 1.11.3
>
>
> For the following job:
> {code}
> SELECT a, pyFunc1(b, d._1) FROM MyTable WHERE a + 1 > 0
> {code}
> The plan is as following:
> {code}
> FlinkLogicalCalc(select=[a, pyFunc1(b, f0) AS EXPR$1])
> +- FlinkLogicalCalc(select=[a, b, d._1 AS f0])
> +- FlinkLogicalLegacyTableSourceScan(table=[[default_catalog,
> default_database, MyTable, source: [TestTableSource(a, b, c, d)]]],
> fields=[a, b, c, d])
> {code}
> It's incorrect as the where condition is missing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)