asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heri Ramampiaro (JIRA)" <>
Subject [jira] [Closed] (ASTERIXDB-1162) Bug in ARecordVisitablePointable (open records)
Date Mon, 11 Jan 2016 21:59:39 GMT


Heri Ramampiaro closed ASTERIXDB-1162.
    Resolution: Fixed

This issues is considered fixed.

> Bug in ARecordVisitablePointable (open records)
> -----------------------------------------------
>                 Key: ASTERIXDB-1162
>                 URL:
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Data Model
>            Reporter: Heri Ramampiaro
>            Assignee: Heri Ramampiaro
> Symptom: 
> When adding a closed record type to an open field (expanded) the value of the field ends
up being empty ({ }). 
> Possible Cause:
> ARecordVisitablePointable, line 257. Here we try to allocated a value of type specified
by a TypeTag. However, if the type is RECORD, it will always create an empty open ARecordType,
which is fine. But, when one tries to set the value of the field in line 258 (which now calls
ARecordVisitablePointable.set method again) the result will be an empty value since the value
neither is expanded (because it is closed) nor providing any schema fields (because of the
empty record allocation).

This message was sent by Atlassian JIRA

View raw message