Sign in
apache
/
vxquery
/
43e6daad781a16c230210812f6e6ffeb7aa55936
/
.
/
vxquery-benchmark
/
src
/
main
/
resources
/
noaa-ghcn-daily
/
queries
/
sensor_count.xq
blob: b671d316032b357b64d7284e8485f1274f418081 [
file
] [
log
] [
blame
]
(: XQuery Join Query :)
(: Count all the weather sensor readings available. :)
count
(
let
$sensor_collection
:=
"/tmp/1.0_partition_ghcnd_all_xml/sensors"
for
$r
in
collection
(
$sensor_collection
)/dataCollection/
data
return
$r
)