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/10/22 01:41:00 UTC

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

Ian Maxon created ASTERIXDB-2977:
------------------------------------

             Summary: 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


msgpack Maps that 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.3.4#803005)