use dataverse demo1112; | |
declare type CustomerType as open { | |
cid: int32, | |
name: string, | |
age: int32?, | |
address: AddressType?, | |
lastorder: { | |
oid: int32, | |
total: float | |
} | |
} | |
declare type AddressType as open { | |
number: int32, | |
street: string, | |
city: string | |
} | |
declare nodegroup group1 on rainbow-01, rainbow-02, rainbow-03, rainbow-04, rainbow-05; | |
declare dataset Customers(CustomerType) | |
primary key cid on group1; | |
load dataset Customers from rainbow-01:"/home/onose/demo-data/customerData.adm"; | |
// drop dataset Customers; |