blob: 7c1d7243797e8420834a824aef8097f9ef5bd93f [file] [log] [blame]
use dataverse demo1112;
declare type OrderType as open {
oid: int32,
cid: int32,
orderstatus: string,
orderpriority: string,
clerk: string,
total: float
}
declare nodegroup group1 on nc1, nc2;
declare dataset Orders(OrderType)
primary key oid on group1;
load dataset Orders
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1:///tmp/orderData.adm"),("format"="adm")) pre-sorted;