[ 
https://issues.apache.org/jira/browse/FLINK-31377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jackylau updated FLINK-31377:
-----------------------------
    Description: 
{code:java}
// code placeholder
when i use  
/*elementGetter = 
ArrayData.createElementGetter(needleDataType.getLogicalType());*/, 

if the element has map which is null
Object getElementOrNull(ArrayData array, int pos);

{code}

  was:
{code:java}
// code placeholder
when i use , if the element has map which is null
Object getElementOrNull(ArrayData array, int pos);{code}


> 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  
> /*elementGetter = 
> ArrayData.createElementGetter(needleDataType.getLogicalType());*/, 
> 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)

Reply via email to