You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2020/10/16 10:19:00 UTC
[jira] [Updated] (FLINK-19675) The plan of is incorrect when Calc
contains WHERE clause, composite fields access and Python UDF at the same
time
[ https://issues.apache.org/jira/browse/FLINK-19675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dian Fu updated FLINK-19675:
----------------------------
Fix Version/s: 1.12.0
> 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
> 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)