You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Glenn Justo Galvizo (Jira)" <ji...@apache.org> on 2021/07/09 15:57:00 UTC

[jira] [Resolved] (ASTERIXDB-2922) GET_TYPE function gives bad results with multiple records

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

Glenn Justo Galvizo resolved ASTERIXDB-2922.
--------------------------------------------
    Resolution: Fixed

> GET_TYPE function gives bad results with multiple records
> ---------------------------------------------------------
>
>                 Key: ASTERIXDB-2922
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2922
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: FUN - Functions
>            Reporter: Glenn Justo Galvizo
>            Assignee: Glenn Justo Galvizo
>            Priority: Major
>
> Query below:
> {code:java}
> FROM [
>   {"f": "a"}, {"f": "b"}, {"f": "c"}
> ] AS D
> SELECT GET_TYPE(D.f);{code}
> gives the following results:
> {code:java}
> [
>         {
>                 "$1": "string"
>         },
>         {
>                 "$1": "stringstring"
>         },
>         {
>                 "$1": "stringstringstring"
>         }
> ]
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)