blob: 539873251e238234389ebd70d87075d805194d35 [file] [log] [blame]
use dataverse demo1112;
declare type MyRecord as open {
id: int32,
point: point,
kwds: string
}
declare nodegroup group1 on nc1, nc2;
set format "org.apache.asterix.runtime.formats.nontagged.NonTaggedDataFormat";
declare dataset MyData(MyRecord)
primary key id on group1;
load dataset MyData
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
(("path"="nc1:///tmp/data.json"),("format"="adm")) pre-sorted;