blob: 6c135f329c2581f915f4ef0c1d3c1305f4b4579d [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001use dataverse demo1112;
2
3declare type MyRecord as open {
4 id: int32,
5 point: point,
6 kwds: string
7}
8
9declare nodegroup group1 on nc1, nc2;
10
11set format "edu.uci.ics.asterix.runtime.formats.nontagged.NonTaggedDataFormat";
12
13declare dataset MyData(MyRecord)
14 partitioned by key id on group1;
15
16load dataset MyData
17using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
18(("path"="nc1:///tmp/data.json"),("format"="adm")) pre-sorted;