[ https://issues.apache.org/jira/browse/FLINK-18168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Walther closed FLINK-18168. -------------------------------- Fix Version/s: 1.11.1 1.12.0 1.10.2 Resolution: Fixed Fixed in 1.12.0: 581fabe7df12961d20753dff8947dec07cbb2c56 Fixed in 1.11.1: f5ac8c352b7fb5aff5a78cffa348f72bd8492509 Fixed in 1.10.2: 23ad7e33117b7c02b28fda77596b12668b5117c1 > Error results when use UDAF with Object Array return type > --------------------------------------------------------- > > Key: FLINK-18168 > URL: https://issues.apache.org/jira/browse/FLINK-18168 > Project: Flink > Issue Type: Bug > Components: Table SQL / Runtime > Reporter: Zou > Assignee: Zou > Priority: Major > Labels: pull-request-available > Fix For: 1.10.2, 1.12.0, 1.11.1 > > > I get error results when I use an UDAF with Object Array return type (e.g. > Row[]). I find that the problem is we reuse 'reuseArray' as the return value > of ObjectArrayConverter.toBinaryArray(). It leads to 'prevAggValue' and > 'newAggValue' in GroupAggFunction.processElement() contains exactly the same > BinaryArray, so 'equaliser.equalsWithoutHeader(prevAggValue, newAggValue)' is > always true. -- This message was sent by Atlassian Jira (v8.3.4#803005)