blob: c6faa6e7a1330326a765e356346d57509be33ea8 [file] [log] [blame]
use dataverse demo0927;
declare type CustomerType as closed {
cid: int32,
name: string,
age: int32
}
declare type AddressType as closed {
number: int32,
street: string,
city: string
}
declare nodegroup group1 on nc1, nc2;
declare dataset Customers(CustomerType)
partitioned by key cid on group1;
load dataset Customers
using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1://data/spj01/cust1.adm"),("format"="adm")) pre-sorted;