blob: ab036fa086efc467aa923266b3aa58f3bf2457c1 [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
Ian Maxonf18bba22015-08-21 12:35:14 -070016using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
vinayakb38b7ca42012-03-05 05:44:15 +000017(("path"="nc1:///asterix/asterix-app/data/users-visitors-small/users.json"),("format"="adm")) pre-sorted;
18