[ https://issues.apache.org/jira/browse/FLINK-31377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698318#comment-17698318 ]
jackylau commented on FLINK-31377: ---------------------------------- hi [~twalthr] ,this is a bug from array_contains, when i develop array_remove i found. {code:java} ArrayData.createElementGetter(needleDataType.getLogicalType()) {code} when the needle is MAP NOT NULL. then ArrayData.createElementGetter will not process null is arrays. and will throw expcetion > BinaryArrayData getArray/getMap should Handle null correctly AssertionError: > valueArraySize (-6) should >= 0 > ------------------------------------------------------------------------------------------------------------- > > Key: FLINK-31377 > URL: https://issues.apache.org/jira/browse/FLINK-31377 > Project: Flink > Issue Type: Bug > Affects Versions: 1.18.0 > Reporter: jackylau > Priority: Major > > {code:java} > // code placeholder > when i use , if the element has map which is null > Object getElementOrNull(ArrayData array, int pos);{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)