Added a new test group to show counts of the benchmark queries.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/65c6d1b7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/65c6d1b7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/65c6d1b7 Branch: refs/heads/master Commit: 65c6d1b75a7c94d47d2a596a25bca7994d1d13fb Parents: d2771c0 Author: Preston Carman <[email protected]> Authored: Tue Apr 1 11:41:51 2014 -0700 Committer: Preston Carman <[email protected]> Committed: Tue Apr 1 20:56:26 2014 -0700 ---------------------------------------------------------------------- .../Collection/Partition-1/q02_count.txt | 1 + .../Collection/Partition-1/q03_count.txt | 1 + .../Collection/Partition-1/q05_count.txt | 1 + .../Collection/Partition-1/q07_count.txt | 1 + .../Collection/Partition-2/q02_count.txt | 1 + .../Collection/Partition-2/q03_count.txt | 1 + .../Collection/Partition-2/q05_count.txt | 1 + .../Collection/Partition-2/q07_count.txt | 1 + .../Collection/Partition-4/q02_count.txt | 1 + .../Collection/Partition-4/q03_count.txt | 1 + .../Collection/Partition-4/q05_count.txt | 1 + .../Collection/Partition-4/q07_count.txt | 1 + .../XQuery/Collection/Partition-1/q02_count.xq | 11 +++++++ .../XQuery/Collection/Partition-1/q03_count.xq | 8 ++++++ .../XQuery/Collection/Partition-1/q05_count.xq | 16 +++++++++++ .../XQuery/Collection/Partition-1/q07_count.xq | 16 +++++++++++ .../XQuery/Collection/Partition-2/q02_count.xq | 11 +++++++ .../XQuery/Collection/Partition-2/q03_count.xq | 8 ++++++ .../XQuery/Collection/Partition-2/q05_count.xq | 16 +++++++++++ .../XQuery/Collection/Partition-2/q07_count.xq | 16 +++++++++++ .../XQuery/Collection/Partition-4/q02_count.xq | 11 +++++++ .../XQuery/Collection/Partition-4/q03_count.xq | 8 ++++++ .../XQuery/Collection/Partition-4/q05_count.xq | 16 +++++++++++ .../XQuery/Collection/Partition-4/q07_count.xq | 16 +++++++++++ vxquery-xtest/tests/XQTSCatalog.xml | 20 +++++++++++++ .../tests/cat/CollectionPartition1Queries.xml | 30 ++++++++++++++++++++ .../tests/cat/CollectionPartition2Queries.xml | 30 ++++++++++++++++++++ .../tests/cat/CollectionPartition4Queries.xml | 30 ++++++++++++++++++++ .../tests/cat/GhcndPartition2Queries.xml | 16 +++++------ .../tests/cat/GhcndPartition4Queries.xml | 16 +++++------ 30 files changed, 291 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q02_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q02_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q02_count.txt new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q02_count.txt @@ -0,0 +1 @@ +1 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q03_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q03_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q03_count.txt new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q03_count.txt @@ -0,0 +1 @@ +3 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q05_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q05_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q05_count.txt new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q05_count.txt @@ -0,0 +1 @@ +1 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q07_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q07_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q07_count.txt new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-1/q07_count.txt @@ -0,0 +1 @@ +3 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q02_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q02_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q02_count.txt new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q02_count.txt @@ -0,0 +1 @@ +1 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q03_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q03_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q03_count.txt new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q03_count.txt @@ -0,0 +1 @@ +3 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q05_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q05_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q05_count.txt new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q05_count.txt @@ -0,0 +1 @@ +1 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q07_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q07_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q07_count.txt new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-2/q07_count.txt @@ -0,0 +1 @@ +3 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q02_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q02_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q02_count.txt new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q02_count.txt @@ -0,0 +1 @@ +1 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q03_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q03_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q03_count.txt new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q03_count.txt @@ -0,0 +1 @@ +3 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q05_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q05_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q05_count.txt new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q05_count.txt @@ -0,0 +1 @@ +1 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q07_count.txt ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q07_count.txt b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q07_count.txt new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/vxquery-xtest/tests/ExpectedTestResults/Collection/Partition-4/q07_count.txt @@ -0,0 +1 @@ +3 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q02_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q02_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q02_count.xq new file mode 100644 index 0000000..73e8aea --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q02_count.xq @@ -0,0 +1,11 @@ +(: XQuery Aggregate Query :) +(: Find the annual precipitation (PRCP) for a Seattle using the airport :) +(: station (US000000002) for 2002. :) +fn:count( + let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/" + for $r in collection($collection)/dataCollection/data + where $r/station eq "GHCND:US000000002" + and $r/dataType eq "PRCP" + and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002 + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q03_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q03_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q03_count.xq new file mode 100644 index 0000000..0d327d1 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q03_count.xq @@ -0,0 +1,8 @@ +(: XQuery Aggregate Query :) +(: Find the highest recorded temperature (TMAX) in Celsius. :) +fn:count( + let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/" + for $r in collection($collection)/dataCollection/data + where $r/dataType eq "TMAX" + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q05_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q05_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q05_count.xq new file mode 100644 index 0000000..9f2ac93 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q05_count.xq @@ -0,0 +1,16 @@ +(: XQuery Join Aggregate Query :) +(: Find the lowest recorded temperature (TMIN) in the United States for :) +(: 2001. :) +fn:count( + let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/" + for $s in collection($station_collection)/stationCollection/station + + let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/" + for $r in collection($sensor_collection)/dataCollection/data + + where $s/id eq $r/station + and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US")) + and $r/dataType eq "TMIN" + and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001 + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q07_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q07_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q07_count.xq new file mode 100644 index 0000000..917b7c6 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-1/q07_count.xq @@ -0,0 +1,16 @@ +(: XQuery Self Join Query :) +(: Self join with all stations finding the difference in min and max :) +(: temperature and get the average. :) +fn:count( + let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/" + for $r_min in collection($sensor_collection_min)/dataCollection/data + + let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/" + for $r_max in collection($sensor_collection_max)/dataCollection/data + + where $r_min/station eq $r_max/station + and $r_min/date eq $r_max/date + and $r_min/dataType eq "TMIN" + and $r_max/dataType eq "TMAX" + return $r_max/value - $r_min/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q02_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q02_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q02_count.xq new file mode 100644 index 0000000..52e7790 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q02_count.xq @@ -0,0 +1,11 @@ +(: XQuery Aggregate Query :) +(: Find the annual precipitation (PRCP) for a Seattle using the airport :) +(: station (US000000002) for 2002. :) +fn:count( + let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/" + for $r in collection($collection)/dataCollection/data + where $r/station eq "GHCND:US000000002" + and $r/dataType eq "PRCP" + and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002 + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q03_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q03_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q03_count.xq new file mode 100644 index 0000000..619c6d1 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q03_count.xq @@ -0,0 +1,8 @@ +(: XQuery Aggregate Query :) +(: Find the highest recorded temperature (TMAX) in Celsius. :) +fn:count( + let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/" + for $r in collection($collection)/dataCollection/data + where $r/dataType eq "TMAX" + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q05_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q05_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q05_count.xq new file mode 100644 index 0000000..c32bcd1 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q05_count.xq @@ -0,0 +1,16 @@ +(: XQuery Join Aggregate Query :) +(: Find the lowest recorded temperature (TMIN) in the United States for :) +(: 2001. :) +fn:count( + let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/" + for $s in collection($station_collection)/stationCollection/station + + let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/" + for $r in collection($sensor_collection)/dataCollection/data + + where $s/id eq $r/station + and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US")) + and $r/dataType eq "TMIN" + and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001 + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q07_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q07_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q07_count.xq new file mode 100644 index 0000000..fd3431f --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-2/q07_count.xq @@ -0,0 +1,16 @@ +(: XQuery Self Join Query :) +(: Self join with all stations finding the difference in min and max :) +(: temperature and get the average. :) +fn:count( + let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/" + for $r_min in collection($sensor_collection_min)/dataCollection/data + + let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/" + for $r_max in collection($sensor_collection_max)/dataCollection/data + + where $r_min/station eq $r_max/station + and $r_min/date eq $r_max/date + and $r_min/dataType eq "TMIN" + and $r_max/dataType eq "TMAX" + return $r_max/value - $r_min/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q02_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q02_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q02_count.xq new file mode 100644 index 0000000..2940380 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q02_count.xq @@ -0,0 +1,11 @@ +(: XQuery Aggregate Query :) +(: Find the annual precipitation (PRCP) for a Seattle using the airport :) +(: station (US000000002) for 2002. :) +fn:count( + let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/" + for $r in collection($collection)/dataCollection/data + where $r/station eq "GHCND:US000000002" + and $r/dataType eq "PRCP" + and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002 + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q03_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q03_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q03_count.xq new file mode 100644 index 0000000..eb6ff10 --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q03_count.xq @@ -0,0 +1,8 @@ +(: XQuery Aggregate Query :) +(: Find the highest recorded temperature (TMAX) in Celsius. :) +fn:count( + let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/" + for $r in collection($collection)/dataCollection/data + where $r/dataType eq "TMAX" + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q05_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q05_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q05_count.xq new file mode 100644 index 0000000..768e35d --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q05_count.xq @@ -0,0 +1,16 @@ +(: XQuery Join Aggregate Query :) +(: Find the lowest recorded temperature (TMIN) in the United States for :) +(: 2001. :) +fn:count( + let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/" + for $s in collection($station_collection)/stationCollection/station + + let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/" + for $r in collection($sensor_collection)/dataCollection/data + + where $s/id eq $r/station + and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US")) + and $r/dataType eq "TMIN" + and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001 + return $r/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q07_count.xq ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q07_count.xq b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q07_count.xq new file mode 100644 index 0000000..8ea026b --- /dev/null +++ b/vxquery-xtest/tests/Queries/XQuery/Collection/Partition-4/q07_count.xq @@ -0,0 +1,16 @@ +(: XQuery Self Join Query :) +(: Self join with all stations finding the difference in min and max :) +(: temperature and get the average. :) +fn:count( + let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/" + for $r_min in collection($sensor_collection_min)/dataCollection/data + + let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/" + for $r_max in collection($sensor_collection_max)/dataCollection/data + + where $r_min/station eq $r_max/station + and $r_min/date eq $r_max/date + and $r_min/dataType eq "TMIN" + and $r_max/dataType eq "TMAX" + return $r_max/value - $r_min/value +) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/XQTSCatalog.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/XQTSCatalog.xml b/vxquery-xtest/tests/XQTSCatalog.xml index 88a7981..3b30b30 100644 --- a/vxquery-xtest/tests/XQTSCatalog.xml +++ b/vxquery-xtest/tests/XQTSCatalog.xml @@ -148,6 +148,11 @@ <!ENTITY GhcndPartition1Queries SYSTEM "cat/GhcndPartition1Queries.xml"> <!ENTITY GhcndPartition2Queries SYSTEM "cat/GhcndPartition2Queries.xml"> <!ENTITY GhcndPartition4Queries SYSTEM "cat/GhcndPartition4Queries.xml"> + +<!ENTITY CollectionPartition1Queries SYSTEM "cat/CollectionPartition1Queries.xml"> +<!ENTITY CollectionPartition2Queries SYSTEM "cat/CollectionPartition2Queries.xml"> +<!ENTITY CollectionPartition4Queries SYSTEM "cat/CollectionPartition4Queries.xml"> + ]> <test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -952,4 +957,19 @@ &GhcndPartition4Queries; </test-group> </test-group> + <test-group name="CollectionPartitionQueries" featureOwner="Preston Carman"> + <GroupInfo> + <title>Collection Partition Queries</title> + <description/> + </GroupInfo> + <test-group name="ParallelExecutionTests" featureOwner="Preston Carman"> + <GroupInfo> + <title>Parallel Execution Tests</title> + <description/> + </GroupInfo> + &CollectionPartition1Queries; + &CollectionPartition2Queries; + &CollectionPartition4Queries; + </test-group> + </test-group> </test-suite> http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/cat/CollectionPartition1Queries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/cat/CollectionPartition1Queries.xml b/vxquery-xtest/tests/cat/CollectionPartition1Queries.xml new file mode 100644 index 0000000..71673af --- /dev/null +++ b/vxquery-xtest/tests/cat/CollectionPartition1Queries.xml @@ -0,0 +1,30 @@ +<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="CollectionPartition1Queries" featureOwner="VXQuery"> + <GroupInfo> + <title>Collection Partition 1</title> + <description/> + </GroupInfo> + <test-case is-XPath2="true" name="collection-partition-1-q02" FilePath="Collection/Partition-1/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q02 from the weather benchmark with 1 partition.</description> + <query name="q02_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q02_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-1-q03" FilePath="Collection/Partition-1/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q03 from the weather benchmark with 1 partition.</description> + <query name="q03_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q03_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-1-q05" FilePath="Collection/Partition-1/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q05 from the weather benchmark with 1 partition.</description> + <query name="q05_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q05_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-1-q07" FilePath="Collection/Partition-1/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q07 from the weather benchmark with 1 partition.</description> + <query name="q07_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q07_count.txt</output-file> + </test-case> +</test-group> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/cat/CollectionPartition2Queries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/cat/CollectionPartition2Queries.xml b/vxquery-xtest/tests/cat/CollectionPartition2Queries.xml new file mode 100644 index 0000000..80dd480 --- /dev/null +++ b/vxquery-xtest/tests/cat/CollectionPartition2Queries.xml @@ -0,0 +1,30 @@ +<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="CollectionPartition2Queries" featureOwner="VXQuery"> + <GroupInfo> + <title>Collection Partition 2</title> + <description/> + </GroupInfo> + <test-case is-XPath2="true" name="collection-partition-2-q02" FilePath="Collection/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q02 from the weather benchmark with 2 partitions.</description> + <query name="q02_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q02_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-2-q03" FilePath="Collection/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q03 from the weather benchmark with 2 partitions.</description> + <query name="q03_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q03_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-2-q05" FilePath="Collection/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q05 from the weather benchmark with 2 partitions.</description> + <query name="q05_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q05_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-2-q07" FilePath="Collection/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q07 from the weather benchmark with 2 partitions.</description> + <query name="q07_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q07_count.txt</output-file> + </test-case> +</test-group> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/cat/CollectionPartition4Queries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/cat/CollectionPartition4Queries.xml b/vxquery-xtest/tests/cat/CollectionPartition4Queries.xml new file mode 100644 index 0000000..8b99f0f --- /dev/null +++ b/vxquery-xtest/tests/cat/CollectionPartition4Queries.xml @@ -0,0 +1,30 @@ +<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="CollectionPartition4Queries" featureOwner="VXQuery"> + <GroupInfo> + <title>Collection Partition 4</title> + <description/> + </GroupInfo> + <test-case is-XPath2="true" name="collection-partition-4-q02" FilePath="Collection/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q02 from the weather benchmark with 4 partitions.</description> + <query name="q02_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q02_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-4-q03" FilePath="Collection/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q03 from the weather benchmark with 4 partitions.</description> + <query name="q03_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q03_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-4-q05" FilePath="Collection/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q05 from the weather benchmark with 4 partitions.</description> + <query name="q05_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q05_count.txt</output-file> + </test-case> + <test-case is-XPath2="true" name="collection-partition-4-q07" FilePath="Collection/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <description>Count records returned for q07 from the weather benchmark with 4 partitions.</description> + <query name="q07_count" date="2014-04-01"/> + <input-file role="principal-data" variable="input-context1">emptydoc</input-file> + <output-file role="principal" compare="Text">q07_count.txt</output-file> + </test-case> +</test-group> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml b/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml index 3f2d6ea..86b5cf0 100644 --- a/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml +++ b/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml @@ -3,49 +3,49 @@ <title>GHCND Partition 1</title> <description/> </GroupInfo> - <test-case is-XPath2="true" name="ghcnd-partition-2-q00" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q00" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q00 from the weather benchmark with 2 partitions.</description> <query name="q00" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q00.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q01" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q01" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q01 from the weather benchmark with 2 partitions.</description> <query name="q01" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q01.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q02" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q02" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q02 from the weather benchmark with 2 partitions.</description> <query name="q02" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q02.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q03" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q03" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q03 from the weather benchmark with 2 partitions.</description> <query name="q03" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q03.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q04" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q04" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q04 from the weather benchmark with 2 partitions.</description> <query name="q04" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q04.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q05" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q05" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q05 from the weather benchmark with 2 partitions.</description> <query name="q05" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q05.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q06" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q06" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q06 from the weather benchmark with 2 partitions.</description> <query name="q06" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q06.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-2-q07" FilePath="Ghcnd/partition-2/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-2-q07" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q07 from the weather benchmark with 2 partitions.</description> <query name="q07" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/65c6d1b7/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml b/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml index 9c1b5ae..232a7b0 100644 --- a/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml +++ b/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml @@ -3,49 +3,49 @@ <title>GHCND Partition 4</title> <description/> </GroupInfo> - <test-case is-XPath2="true" name="ghcnd-partition-4-q00" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q00" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q00 from the weather benchmark with 4 partitions.</description> <query name="q00" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q00.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q01" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q01" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q01 from the weather benchmark with 4 partitions.</description> <query name="q01" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q01.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q02" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q02" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q02 from the weather benchmark with 4 partitions.</description> <query name="q02" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q02.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q03" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q03" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q03 from the weather benchmark with 4 partitions.</description> <query name="q03" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q03.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q04" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q04" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q04 from the weather benchmark with 4 partitions.</description> <query name="q04" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q04.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q05" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q05" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q05 from the weather benchmark with 4 partitions.</description> <query name="q05" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q05.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q06" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q06" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q06 from the weather benchmark with 4 partitions.</description> <query name="q06" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file> <output-file role="principal" compare="Text">q06.txt</output-file> </test-case> - <test-case is-XPath2="true" name="ghcnd-partition-4-q07" FilePath="Ghcnd/partition-4/" scenario="runtime-error" Creator="Preston Carman"> + <test-case is-XPath2="true" name="ghcnd-partition-4-q07" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman"> <description>Execution of q07 from the weather benchmark with 4 partitions.</description> <query name="q07" date="2014-04-01"/> <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
