blob: c6faa6e7a1330326a765e356346d57509be33ea8 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001use dataverse demo0927;
2
3declare type CustomerType as closed {
4 cid: int32,
5 name: string,
6 age: int32
7}
8
9declare type AddressType as closed {
10 number: int32,
11 street: string,
12 city: string
13}
14
15declare nodegroup group1 on nc1, nc2;
16
17declare dataset Customers(CustomerType)
18 partitioned by key cid on group1;
19
20load dataset Customers
21using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
22(("path"="nc1://data/spj01/cust1.adm"),("format"="adm")) pre-sorted;