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"=":")); |