blob: 7d6dc623c898a1cd98e0f64c161daa4f1e205c62 [file] [log] [blame]
use dataverse demo_aql;
declare type DBLPType as open {
id: int32,
dblpid: string,
title: string,
authors: string,
misc: string
}
declare nodegroup group1 on nc1, nc2;
declare dataset DBLP(DBLPType)
partitioned by key id on group1;
load dataset DBLP
using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1:///tmp/dblp-id.txt"),("format"="delimited-text"),("delimiter"=":"));