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

Dongjoon Hyun closed ORC-800.
-----------------------------

> [ORC]if map.value is selected, map.key should be selected automatically to 
> prevent segment fault.
> -------------------------------------------------------------------------------------------------
>
>                 Key: ORC-800
>                 URL: https://issues.apache.org/jira/browse/ORC-800
>             Project: ORC
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 1.7.0
>            Reporter: Zherui Cao
>            Assignee: Zherui Cao
>            Priority: Major
>             Fix For: 1.7.0
>
>
> Some Tools querying map as a struct so map.key and map.value is independent. 
> But either way map is selected. Then MapVectorBatch is accessible,  then we 
> have change to segment fault in the following situation:
> MapVectorBatch::toString will definitely encounter segment fault if map.key 
> is not selected but map.value is selected. Such a case if it is struct then 
> it's fine. But map has to have keys and elements. then keys is nullptr. this 
> is the cause of segment fault.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to