blob: be75fa65e87db2daf5f05721c3004466de268e23 [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)
13 partitioned by key uid on group1;
14
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