blob: 7d6dc623c898a1cd98e0f64c161daa4f1e205c62 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001use dataverse demo_aql;
2
3declare type DBLPType as open {
4 id: int32,
5 dblpid: string,
6 title: string,
7 authors: string,
8 misc: string
9}
10
11declare nodegroup group1 on nc1, nc2;
12
13declare dataset DBLP(DBLPType)
14 partitioned by key id on group1;
15
16load dataset DBLP
17using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
18(("path"="nc1:///tmp/dblp-id.txt"),("format"="delimited-text"),("delimiter"=":"));