use dataverse demo1112; | |
declare type MyRecord as open { | |
id: int32, | |
point: point, | |
kwds: string | |
} | |
declare nodegroup group1 on nc1, nc2; | |
set format "edu.uci.ics.asterix.runtime.formats.nontagged.NonTaggedDataFormat"; | |
declare dataset MyData(MyRecord) | |
primary key id on group1; | |
load dataset MyData | |
using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter" | |
(("path"="nc1:///tmp/data.json"),("format"="adm")) pre-sorted; |