[
https://issues.apache.org/jira/browse/HIVE-9161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252268#comment-14252268
]
Mohit Sabharwal commented on HIVE-9161:
---------------------------------------
Hi [~spena], [~brocknoland] and I were discussing this patch offline. Since
{{StandardMapObjectInspector}} map can get arbitrarily large and is extensively
used for serializing/deserializing results back to the end user for queries
with maps, it might be better to avoid adding the additional memory cost
associated with {{LinkedHashMap}}. To provide an indirect way of fixing such
test failures, we added Java version specific q-test support in HIVE-9109.
(That jira also addresses {{varchar_udf1.q}} test failure.)
As such, I think we can remove {{StandardMapObjectInspector}} related changes
from this patch. What do you think ?
> Fix ordering differences on UDF functions due to Java8
> ------------------------------------------------------
>
> Key: HIVE-9161
> URL: https://issues.apache.org/jira/browse/HIVE-9161
> Project: Hive
> Issue Type: Sub-task
> Affects Versions: 0.13.1
> Reporter: Sergio Peña
> Assignee: Sergio Peña
> Attachments: HIVE-9161.1.patch, HIVE-9161.2.patch
>
>
> Java 8 uses a different hash function for HashMap, which is leading to
> iteration order differences in several cases. (See Java8 vs Java7)
> This part is related to UDF functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)