Xikui Wang created ASTERIXDB-1835:
-------------------------------------
Summary: UnionType cast to RecordType issue when query nested
record type.
Key: ASTERIXDB-1835
URL: https://issues.apache.org/jira/browse/ASTERIXDB-1835
Project: Apache AsterixDB
Issue Type: Bug
Reporter: Xikui Wang
Priority: Minor
{noformat}
DROP DATAVERSE Test IF EXISTS;
CREATE DATAVERSE Test;
USE Test;
CREATE TYPE TypeA AS {
aid: int
}
CREATE TYPE TypeB AS {
bid: int,
a_attr: TypeA?
}
CREATE DATASET DataB(TypeB) PRIMARY KEY bid;
SELECT * FROM DataB WHERE DataB.a_attr.aid = '0';
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)