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

Heri Ramampiaro closed ASTERIXDB-1162.
--------------------------------------
    Resolution: Fixed

This issues is considered fixed.

> Bug in ARecordVisitablePointable (open records)
> -----------------------------------------------
>
>                 Key: ASTERIXDB-1162
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1162
>             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
(v6.3.4#6332)

Reply via email to