blob: 0e98b8d4feace4d83960305fe8ebdbca3372a87c [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)
primary key id on group1;
load dataset DBLP
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1:///tmp/dblp-id.txt"),("format"="delimited-text"),("delimiter"=":"));