shamim8888 / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Record-level UNION fails. #904

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

use dataverse test;

create type DBLPType as closed {
  id: int64,
  dblpid: string,
  title: string,
  authors: string,
  misc: string,
  abstract: string
}

create dataset DBLP(DBLPType) primary key id;
(for $d in dataset DBLP where $d.id = 1 return $d)
union
(for $d in dataset DBLP where $d.abstract = "database" return $d)

What is the expected output? What do you see instead?
Since there is no data, null is expected.

Original issue reported on code.google.com by wangs...@gmail.com on 25 Jun 2015 at 12:26