blob: da333bc7366d01b78a335ee0d1c78222ff8f3ff5 [file] [log] [blame]
use dataverse demo0927;
declare type OrderType as closed {
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 from nc1:"/tmp/orderData.json";
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1:///tmp/orderData.json"),("format"="adm")) pre-sorted;