blob: 83657dfbae40cd80c2d8ae616ce8543cf85bc199 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001use dataverse demo1112;
2
3declare type OrderType as open {
4 oid: int32,
5 cid: int32,
6 orderstatus: string,
7 orderpriority: string,
8 clerk: string,
9 total: float
10}
11
12declare nodegroup group1 on nc1, nc2;
13
14declare dataset Orders(OrderType)
ramangrover29669d8f62013-02-11 06:03:32 +000015 primary key oid on group1;
vinayakb38b7ca42012-03-05 05:44:15 +000016
17load dataset Orders
18using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
19(("path"="nc1:///tmp/orderData.adm"),("format"="adm")) pre-sorted;