blob: 5027c292eb7f623b69d8f532338823c79258b315 [file] [log] [blame]
use dataverse demo1112;
declare type ExampleType as open {
id: int32,
point: point,
point3d: point3d,
line: line,
polygon: polygon
}
declare nodegroup group1 on nc1, nc2;
set format "edu.uci.ics.asterix.runtime.formats.nontagged.NonTaggedDataFormat";
declare dataset Spatial(ExampleType)
primary key id on group1;
write output to nc1:"/home/yasser/Dropbox/Research/data/results/result_spatial_3.adm";
for $o in dataset('Spatial')
return $o