[ https://issues.apache.org/jira/browse/FLINK-22297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dian Fu closed FLINK-22297. --------------------------- Fix Version/s: 1.12.3 1.13.0 Resolution: Fixed Merged to - master via 24031e55e4cf35a5818db2e927e65b290a9b2aed - release-1.13 via 5abd413e61185ea3eb02d28cbf72eae1ec4b1bfa - release-1.12 via 599b7ee7a3505fcc875aafb75a2b061684881b74 > Perform early check to ensure that the length of the result is the same as > the input for Pandas UDF > --------------------------------------------------------------------------------------------------- > > Key: FLINK-22297 > URL: https://issues.apache.org/jira/browse/FLINK-22297 > Project: Flink > Issue Type: Improvement > Components: API / Python > Reporter: Dian Fu > Assignee: Dian Fu > Priority: Major > Labels: pull-request-available > Fix For: 1.13.0, 1.12.3 > > > For Pandas UDF, the input type for each input argument is Pandas.Series and > the result type is also of type Pandas.Series. Besides, the length of the > result should be the same as the inputs. If this is not the case, currently > the behavior is unclear. We should perform early check for this and provide a > clear error message. > See > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/PyFlink-Vectorized-UDF-throws-NullPointerException-td42952.html > and > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/PyFlink-called-already-closed-and-NullPointerException-td42997.html > for more details. -- This message was sent by Atlassian Jira (v8.3.4#803005)