use dataverse fuzzy1; | |
declare type UserType as open { | |
uid: int32, | |
name: string, | |
lottery_numbers: {{int32}}, | |
interests: {{string}} | |
} | |
declare nodegroup group1 on nc1, nc2; | |
declare dataset Users(UserType) | |
partitioned by key uid on group1; | |
load dataset Users | |
using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter" | |
(("path"="nc1:///asterix/asterix-app/data/users-visitors-small/users.json"),("format"="adm")) pre-sorted; | |