blob: 1df33c0c0433331363a166ac1ffc8d94c863aaf0 [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)
ramangrover29669d8f62013-02-11 06:03:32 +000014 primary key id on group1;
vinayakb38b7ca42012-03-05 05:44:15 +000015
16load dataset MyData
17using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
18(("path"="nc1:///tmp/data.json"),("format"="adm")) pre-sorted;