asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wail Alkowaileet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1270) Apply function on an open type throws "Unsupported type UNION(NULL, [ null: open { id: [ ANY ] } ])"
Date Wed, 20 Jan 2016 20:40:39 GMT
Wail Alkowaileet created ASTERIXDB-1270:
-------------------------------------------

             Summary: Apply function on an open type throws "Unsupported type UNION(NULL,
[ null: open {   id: [ ANY ] }  ])"
                 Key: ASTERIXDB-1270
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1270
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: Functions - AQL, Hyracks
            Reporter: Wail Alkowaileet


To reproduce:

DDL:
{noformat}
create dataverse wosDataverse
use dataverse wosDataverse
create type wosType as open {
	UID: string
}
create dataset wos(wosType)
primary key UID
{nofrmat}

AQL:
{noformat}
use dataverse wosDataverse
let $c := (for $x in dataset wos
let $id := $x.id
group by $country := $x.country with $id
return {"country":$country, "id" : $id})

return count($c.id)
{nofrmat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message