[
https://issues.apache.org/jira/browse/ORC-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zherui Cao resolved ORC-800.
----------------------------
Resolution: Fixed
> [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++
> Reporter: Zherui Cao
> Assignee: Zherui Cao
> Priority: Major
>
> 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)