[
https://issues.apache.org/jira/browse/ASTERIXDB-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16791976#comment-16791976
]
ASF subversion and git services commented on ASTERIXDB-2529:
------------------------------------------------------------
Commit 61f9644e9b740b456ed27e214f8979f96133c5f3 in asterixdb's branch
refs/heads/master from Dmitry Lychagin
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=61f9644 ]
[ASTERIXDB-2529][COMP] Incorrect result with MISSING field value
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Fixed StaticTypeCastUtil.staticRecordTypeCast() to
correctly handle MISSING fields in record constructors
Change-Id: I5d3435274ebf0007fe7e63b86264337072fd8305
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3269
Sonar-Qube: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
> Incorrect query result for record constructor with MISSING value
> ----------------------------------------------------------------
>
> Key: ASTERIXDB-2529
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2529
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: COMP - Compiler
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Minor
>
> Query
> {noformat}
> FROM [{'a_a': 9, 'bb': missing, 'c': 33}] v SELECT v;
> {noformat}
> returns incorrect result:
> {noformat}
> { "v": { "a_a": 9, "c": 9 } }
> {noformat}
> It should return
> {noformat}
> { "v": { "a_a": 9, "c": 33 } }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)