blob: 4353a4bb80c66409bfb50f312f032c389da4fd14 [file] [log] [blame]
use dataverse fuzzy1;
declare type CSXType as open {
id: int32,
csxid: string,
title: string,
authors: string,
misc: string
}
declare nodegroup group1 on nc1, nc2;
declare dataset CSX(CSXType)
primary key id on group1;
// load dataset CSX from nc1:'/asterix/asterix-app/data/pub-small/csx-small-id.txt'
load dataset CSX
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1:///asterix/asterix-app/data/pub-small/csx-small-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u0000")) pre-sorted;