blob: 23aeea800744e48727d2279ad4a2ba2d8f87c772 [file] [log] [blame]
use dataverse demo1112;
declare type CustomerType as closed {
cid: int32,
name: string,
budget: int32,
age: int32?,
address: AddressType?,
lastorder: {
oid: int32,
total: float
}
}
declare type AddressType as open {
number: int32,
street: string?,
city: string
}
declare nodegroup group1 on nc1, nc2;
set format "edu.uci.ics.asterix.runtime.formats.nontagged.NonTaggedDataFormat";
declare dataset Customers(CustomerType)
primary key cid on group1;
drop dataset Customers;