blob: affd0f374d0dd8ac13779815dd230809471b75fe [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001use dataverse fuzzy1;
2
3declare type UserType as open {
4 uid: int32,
5 name: string,
6 lottery_numbers: {{int32}},
7 interests: {{string}}
8}
9
10declare nodegroup group1 on nc1, nc2;
11
12declare dataset Users(UserType)
ramangrover29669d8f62013-02-11 06:03:32 +000013 primary key uid on group1;
vinayakb38b7ca42012-03-05 05:44:15 +000014
15load dataset Users
16using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
17(("path"="nc1:///asterix/asterix-app/data/users-visitors-small/users.json"),("format"="adm")) pre-sorted;
18