vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 1 | use dataverse fuzzy1; |
| 2 | |
| 3 | declare type UserType as open { |
| 4 | uid: int32, |
| 5 | name: string, |
| 6 | lottery_numbers: {{int32}}, |
| 7 | interests: {{string}} |
| 8 | } |
| 9 | |
| 10 | declare nodegroup group1 on nc1, nc2; |
| 11 | |
| 12 | declare dataset Users(UserType) |
ramangrover29 | 669d8f6 | 2013-02-11 06:03:32 +0000 | [diff] [blame^] | 13 | primary key uid on group1; |
vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 14 | |
| 15 | load dataset Users |
| 16 | using "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 | |