[ https://issues.apache.org/jira/browse/HIVE-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143906#comment-14143906 ]
Xiaobing Zhou commented on HIVE-8115: ------------------------------------- There is an infinite loop due to parsing pointer not advanced in LazyMap.parse that hangs query in the case of bad map with empty entry. The 3rd patch logged warning message and skipped those bad entries, and made queries going on by returning good entries in map. > 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, HIVE-8115.3.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 -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)