[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737212#comment-17737212
 ] 

ASF subversion and git services commented on ASTERIXDB-3215:
------------------------------------------------------------

Commit fa43d861c0ed9c6905aeb29516638d10e2cf11bf in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=fa43d861c0 ]

[ASTERIXDB-3215][RT] Avoid unnecessary fields sort in ARecordCaster

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Do not sort fields when the input record is already open.

- Change OBJECT_VALUES() so that it avoids casting the input
  record if it is already open.
- Fix getting the open field value from ARecordPointable to
  include the tag when writing the value to the output stream.

Change-Id: I3fb928fe725ab7b6beb4abfc477b190d835138bb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17610
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>


> StackOverflow error due to fields sorting in ARecordCaster
> ----------------------------------------------------------
>
>                 Key: ASTERIXDB-3215
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3215
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: RT - Runtime
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>              Labels: triaged
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to