You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/06/04 04:32:00 UTC
[jira] [Updated] (ORC-800) [ORC]if map.value is selected, map.key
should be selected automatically to prevent segment fault.
[ https://issues.apache.org/jira/browse/ORC-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated ORC-800:
------------------------------
Affects Version/s: 1.7.0
> [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)