[
https://issues.apache.org/jira/browse/HIVE-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139714#comment-14139714
]
Hari Sankar Sivarama Subramaniyan commented on HIVE-8115:
---------------------------------------------------------
There are 2 options here :
1. Modify Driver.getResults to throw an exception when the data is invalid.
2. Modify LazyMap.parse() something similar to this:
{code}
if (lazyKey != null) {
Object key = lazyKey.getObject();
if(!keySet.contains(key)) {
mapSize++;
keySet.add(key);
} else {
keyInited[mapSize] = false;
}
} else {
// Log the error without throwing an exception
}
{code}
Thanks
Hari
> Hive select query hang when fields contain map
> ----------------------------------------------
>
> Key: HIVE-8115
> URL: https://issues.apache.org/jira/browse/HIVE-8115
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Attachments: HIVE-8115.1.patch, HIVE-8115.2.patch, createTable.hql,
> data
>
>
> Attached the repro of the issue. When creating an table loading the data
> attached, all hive query with hangs even just select * from the table.
> repro steps:
> 1. run createTable.hql
> 2. hadoop fs ls -put data /data
> 3. LOAD DATA INPATH '/data' OVERWRITE INTO TABLE testtable;
> 4. SELECT * FROM testtable;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)