You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ian Maxon (Jira)" <ji...@apache.org> on 2021/11/12 18:00:00 UTC

[jira] [Resolved] (ASTERIXDB-2977) Python UDFs don't sort key hashes on returned objects/maps

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Maxon resolved ASTERIXDB-2977.
----------------------------------
    Resolution: Fixed

> Python UDFs don't sort key hashes on returned objects/maps
> ----------------------------------------------------------
>
>                 Key: ASTERIXDB-2977
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2977
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: RT - Runtime
>    Affects Versions: 0.9.7
>            Reporter: Ian Maxon
>            Assignee: Ian Maxon
>            Priority: Major
>
> msgpack Maps are passed back in from the UDF executor, and converted to ADM. Currently the maps are converted to ADM in the order given, including the hashes and offsets of the keys in the record header.  This is incorrect. The hashes and offsets need to be sorted by combining the offset and hash into a long, with the hash as the high 32 bytes and the offset as the low. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)