blob: 74502a0455291cf854989edb06a8840283d4eb18 [file] [log] [blame]
use dataverse demo0927;
declare type CustomerType as closed {
cid: int32,
name: string,
age: int32?,
address: AddressType?,
lastorder: {
oid: int32,
total: float
}
}
declare type AddressType as closed {
number: int32,
street: string,
city: string
}
declare nodegroup group1 on rainbow-01, rainbow-02, rainbow-03, rainbow-04, rainbow-05;
declare dataset Customers(CustomerType)
partitioned by key cid on group1;
load dataset Customers from rainbow-01:"/home/hyracks/demo-data/customerData.json";
// delete dataset Customers;