You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by vi...@apache.org on 2014/04/10 00:21:04 UTC

[09/51] [abbrv] git commit: Updated the testing resources.

Updated the testing resources.


Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/16f26a65
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/16f26a65
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/16f26a65

Branch: refs/heads/vxquery_0_3_staging
Commit: 16f26a6510ffc2780ec5a01dd85d16da4223b4be
Parents: c813b09
Author: Preston Carman <pr...@apache.org>
Authored: Wed Apr 2 15:23:10 2014 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Wed Apr 2 15:23:10 2014 -0700

----------------------------------------------------------------------
 .../apache/vxquery/xtest/TestCaseFactory.java   |   14 +-
 .../java/org/apache/vxquery/xtest/XTest.java    |    2 +-
 .../org/apache/vxquery/xtest/XTestOptions.java  |    4 +-
 .../Aggregate/Partition-1/avg.txt               |    1 +
 .../Aggregate/Partition-1/count.txt             |    1 +
 .../Aggregate/Partition-1/max.txt               |    1 +
 .../Aggregate/Partition-1/min.txt               |    1 +
 .../Aggregate/Partition-1/sum.txt               |    1 +
 .../Aggregate/Partition-2/avg.txt               |    1 +
 .../Aggregate/Partition-2/count.txt             |    1 +
 .../Aggregate/Partition-2/max.txt               |    1 +
 .../Aggregate/Partition-2/min.txt               |    1 +
 .../Aggregate/Partition-2/sum.txt               |    1 +
 .../Aggregate/Partition-4/avg.txt               |    1 +
 .../Aggregate/Partition-4/count.txt             |    1 +
 .../Aggregate/Partition-4/max.txt               |    1 +
 .../Aggregate/Partition-4/min.txt               |    1 +
 .../Aggregate/Partition-4/sum.txt               |    1 +
 .../Ghcnd/Partition-1/q00.txt                   |    2 +
 .../Ghcnd/Partition-1/q01.txt                   |    1 +
 .../Ghcnd/Partition-1/q02.txt                   |    1 +
 .../Ghcnd/Partition-1/q03.txt                   |    1 +
 .../Ghcnd/Partition-1/q04.txt                   |    3 +
 .../Ghcnd/Partition-1/q05.txt                   |    1 +
 .../Ghcnd/Partition-1/q06.txt                   |    3 +
 .../Ghcnd/Partition-1/q07.txt                   |    1 +
 .../Ghcnd/Partition-2/q00.txt                   |    2 +
 .../Ghcnd/Partition-2/q01.txt                   |    1 +
 .../Ghcnd/Partition-2/q02.txt                   |    1 +
 .../Ghcnd/Partition-2/q03.txt                   |    1 +
 .../Ghcnd/Partition-2/q04.txt                   |    3 +
 .../Ghcnd/Partition-2/q05.txt                   |    1 +
 .../Ghcnd/Partition-2/q06.txt                   |    3 +
 .../Ghcnd/Partition-2/q07.txt                   |    1 +
 .../Ghcnd/Partition-4/q00.txt                   |    2 +
 .../Ghcnd/Partition-4/q01.txt                   |    1 +
 .../Ghcnd/Partition-4/q02.txt                   |    1 +
 .../Ghcnd/Partition-4/q03.txt                   |    1 +
 .../Ghcnd/Partition-4/q04.txt                   |    3 +
 .../Ghcnd/Partition-4/q05.txt                   |    1 +
 .../Ghcnd/Partition-4/q06.txt                   |    3 +
 .../Ghcnd/Partition-4/q07.txt                   |    1 +
 .../GhcndCount/Partition-1/q02_count.txt        |    1 +
 .../GhcndCount/Partition-1/q03_count.txt        |    1 +
 .../GhcndCount/Partition-1/q05_count.txt        |    1 +
 .../GhcndCount/Partition-1/q07_count.txt        |    1 +
 .../GhcndCount/Partition-2/q02_count.txt        |    1 +
 .../GhcndCount/Partition-2/q03_count.txt        |    1 +
 .../GhcndCount/Partition-2/q05_count.txt        |    1 +
 .../GhcndCount/Partition-2/q07_count.txt        |    1 +
 .../GhcndCount/Partition-4/q02_count.txt        |    1 +
 .../GhcndCount/Partition-4/q03_count.txt        |    1 +
 .../GhcndCount/Partition-4/q05_count.txt        |    1 +
 .../GhcndCount/Partition-4/q07_count.txt        |    1 +
 .../GhcndRecords/Partition-1/q02_records.txt    |    1 +
 .../GhcndRecords/Partition-1/q03_records.txt    |    3 +
 .../GhcndRecords/Partition-1/q05_records.txt    |    1 +
 .../GhcndRecords/Partition-1/q07_records.txt    |    3 +
 .../GhcndRecords/Partition-2/q02_records.txt    |    1 +
 .../GhcndRecords/Partition-2/q03_records.txt    |    3 +
 .../GhcndRecords/Partition-2/q05_records.txt    |    1 +
 .../GhcndRecords/Partition-2/q07_records.txt    |    3 +
 .../GhcndRecords/Partition-4/q02_records.txt    |    1 +
 .../GhcndRecords/Partition-4/q03_records.txt    |    3 +
 .../GhcndRecords/Partition-4/q05_records.txt    |    1 +
 .../GhcndRecords/Partition-4/q07_records.txt    |    3 +
 .../Queries/XQuery/Aggregate/Partition-1/avg.xq |    8 +
 .../XQuery/Aggregate/Partition-1/count.xq       |    8 +
 .../Queries/XQuery/Aggregate/Partition-1/max.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-1/min.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-1/sum.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/avg.xq |    8 +
 .../XQuery/Aggregate/Partition-2/count.xq       |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/max.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/min.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/sum.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/avg.xq |    8 +
 .../XQuery/Aggregate/Partition-4/count.xq       |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/max.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/min.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/sum.xq |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q00.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-1/q01.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q02.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-1/q03.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q04.xq     |   13 +
 .../XQuery/Ghcnd/Partition-1/q04_sensors.xq     |    8 +
 .../XQuery/Ghcnd/Partition-1/q04_stations.xq    |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q05.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-1/q06.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-1/q07.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-2/q00.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-2/q01.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-2/q02.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-2/q03.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-2/q04.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-2/q05.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-2/q06.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-2/q07.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-4/q00.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-4/q01.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-4/q02.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-4/q03.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-4/q04.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-4/q05.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-4/q06.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-4/q07.xq     |   16 +
 .../XQuery/GhcndCount/Partition-1/q02_count.xq  |   11 +
 .../XQuery/GhcndCount/Partition-1/q03_count.xq  |    8 +
 .../XQuery/GhcndCount/Partition-1/q05_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-1/q07_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-2/q02_count.xq  |   11 +
 .../XQuery/GhcndCount/Partition-2/q03_count.xq  |    8 +
 .../XQuery/GhcndCount/Partition-2/q05_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-2/q07_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-4/q02_count.xq  |   11 +
 .../XQuery/GhcndCount/Partition-4/q03_count.xq  |    8 +
 .../XQuery/GhcndCount/Partition-4/q05_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-4/q07_count.xq  |   16 +
 .../GhcndRecords/Partition-1/q02_records.xq     |    9 +
 .../GhcndRecords/Partition-1/q03_records.xq     |    6 +
 .../GhcndRecords/Partition-1/q05_records.xq     |   14 +
 .../GhcndRecords/Partition-1/q07_records.xq     |   14 +
 .../GhcndRecords/Partition-2/q02_records.xq     |    9 +
 .../GhcndRecords/Partition-2/q03_records.xq     |    6 +
 .../GhcndRecords/Partition-2/q05_records.xq     |   14 +
 .../GhcndRecords/Partition-2/q07_records.xq     |   14 +
 .../GhcndRecords/Partition-4/q02_records.xq     |    9 +
 .../GhcndRecords/Partition-4/q03_records.xq     |    6 +
 .../GhcndRecords/Partition-4/q05_records.xq     |   14 +
 .../GhcndRecords/Partition-4/q07_records.xq     |   14 +
 .../quarter_1/sesnors/US000000001_200101_0.xml  |    1 +
 .../half_1/quarter_1/stations/US000000001.xml   |    1 +
 .../quarter_2/sesnors/US000000002_200202_0.xml  |    1 +
 .../half_1/quarter_2/stations/US000000004.xml   |    1 +
 .../quarter_3/sesnors/AS000000003_200303_0.xml  |    1 +
 .../half_2/quarter_3/stations/US000000002.xml   |    1 +
 .../quarter_4/sesnors/US000000004_200404_0.xml  |    1 +
 .../half_2/quarter_4/stations/AS000000003.xml   |    1 +
 .../src/tests/resources/VXQueryCatalog.xml      |   98 +
 .../cat/AggregatePartition1Queries.xml          |   31 +
 .../cat/AggregatePartition2Queries.xml          |   36 +
 .../cat/AggregatePartition4Queries.xml          |   36 +
 .../cat/GhcndCountPartition1Queries.xml         |   30 +
 .../cat/GhcndCountPartition2Queries.xml         |   30 +
 .../cat/GhcndCountPartition4Queries.xml         |   30 +
 .../resources/cat/GhcndPartition1Queries.xml    |   54 +
 .../resources/cat/GhcndPartition2Queries.xml    |   54 +
 .../resources/cat/GhcndPartition4Queries.xml    |   54 +
 .../cat/GhcndRecordsPartition1Queries.xml       |   30 +
 .../cat/GhcndRecordsPartition2Queries.xml       |   30 +
 .../cat/GhcndRecordsPartition4Queries.xml       |   30 +
 .../Aggregate/Partition-1/avg.txt               |    1 -
 .../Aggregate/Partition-1/count.txt             |    1 -
 .../Aggregate/Partition-1/max.txt               |    1 -
 .../Aggregate/Partition-1/min.txt               |    1 -
 .../Aggregate/Partition-1/sum.txt               |    1 -
 .../Aggregate/Partition-2/avg.txt               |    1 -
 .../Aggregate/Partition-2/count.txt             |    1 -
 .../Aggregate/Partition-2/max.txt               |    1 -
 .../Aggregate/Partition-2/min.txt               |    1 -
 .../Aggregate/Partition-2/sum.txt               |    1 -
 .../Aggregate/Partition-4/avg.txt               |    1 -
 .../Aggregate/Partition-4/count.txt             |    1 -
 .../Aggregate/Partition-4/max.txt               |    1 -
 .../Aggregate/Partition-4/min.txt               |    1 -
 .../Aggregate/Partition-4/sum.txt               |    1 -
 .../Ghcnd/Partition-1/q00.txt                   |    2 -
 .../Ghcnd/Partition-1/q01.txt                   |    1 -
 .../Ghcnd/Partition-1/q02.txt                   |    1 -
 .../Ghcnd/Partition-1/q03.txt                   |    1 -
 .../Ghcnd/Partition-1/q04.txt                   |    3 -
 .../Ghcnd/Partition-1/q05.txt                   |    1 -
 .../Ghcnd/Partition-1/q06.txt                   |    3 -
 .../Ghcnd/Partition-1/q07.txt                   |    1 -
 .../Ghcnd/Partition-2/q00.txt                   |    2 -
 .../Ghcnd/Partition-2/q01.txt                   |    1 -
 .../Ghcnd/Partition-2/q02.txt                   |    1 -
 .../Ghcnd/Partition-2/q03.txt                   |    1 -
 .../Ghcnd/Partition-2/q04.txt                   |    3 -
 .../Ghcnd/Partition-2/q05.txt                   |    1 -
 .../Ghcnd/Partition-2/q06.txt                   |    3 -
 .../Ghcnd/Partition-2/q07.txt                   |    1 -
 .../Ghcnd/Partition-4/q00.txt                   |    2 -
 .../Ghcnd/Partition-4/q01.txt                   |    1 -
 .../Ghcnd/Partition-4/q02.txt                   |    1 -
 .../Ghcnd/Partition-4/q03.txt                   |    1 -
 .../Ghcnd/Partition-4/q04.txt                   |    3 -
 .../Ghcnd/Partition-4/q05.txt                   |    1 -
 .../Ghcnd/Partition-4/q06.txt                   |    3 -
 .../Ghcnd/Partition-4/q07.txt                   |    1 -
 .../GhcndCount/Partition-1/q02_count.txt        |    1 -
 .../GhcndCount/Partition-1/q03_count.txt        |    1 -
 .../GhcndCount/Partition-1/q05_count.txt        |    1 -
 .../GhcndCount/Partition-1/q07_count.txt        |    1 -
 .../GhcndCount/Partition-2/q02_count.txt        |    1 -
 .../GhcndCount/Partition-2/q03_count.txt        |    1 -
 .../GhcndCount/Partition-2/q05_count.txt        |    1 -
 .../GhcndCount/Partition-2/q07_count.txt        |    1 -
 .../GhcndCount/Partition-4/q02_count.txt        |    1 -
 .../GhcndCount/Partition-4/q03_count.txt        |    1 -
 .../GhcndCount/Partition-4/q05_count.txt        |    1 -
 .../GhcndCount/Partition-4/q07_count.txt        |    1 -
 .../GhcndRecords/Partition-1/q02_records.txt    |    1 -
 .../GhcndRecords/Partition-1/q03_records.txt    |    3 -
 .../GhcndRecords/Partition-1/q05_records.txt    |    1 -
 .../GhcndRecords/Partition-1/q07_records.txt    |    3 -
 .../GhcndRecords/Partition-2/q02_records.txt    |    1 -
 .../GhcndRecords/Partition-2/q03_records.txt    |    3 -
 .../GhcndRecords/Partition-2/q05_records.txt    |    1 -
 .../GhcndRecords/Partition-2/q07_records.txt    |    3 -
 .../GhcndRecords/Partition-4/q02_records.txt    |    1 -
 .../GhcndRecords/Partition-4/q03_records.txt    |    3 -
 .../GhcndRecords/Partition-4/q05_records.txt    |    1 -
 .../GhcndRecords/Partition-4/q07_records.txt    |    3 -
 .../Queries/XQuery/Aggregate/Partition-1/avg.xq |    8 -
 .../XQuery/Aggregate/Partition-1/count.xq       |    8 -
 .../Queries/XQuery/Aggregate/Partition-1/max.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-1/min.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-1/sum.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/avg.xq |    8 -
 .../XQuery/Aggregate/Partition-2/count.xq       |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/max.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/min.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/sum.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/avg.xq |    8 -
 .../XQuery/Aggregate/Partition-4/count.xq       |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/max.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/min.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/sum.xq |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q00.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-1/q01.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q02.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-1/q03.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q04.xq     |   13 -
 .../XQuery/Ghcnd/Partition-1/q04_sensors.xq     |    8 -
 .../XQuery/Ghcnd/Partition-1/q04_stations.xq    |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q05.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-1/q06.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-1/q07.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-2/q00.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-2/q01.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-2/q02.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-2/q03.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-2/q04.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-2/q05.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-2/q06.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-2/q07.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-4/q00.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-4/q01.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-4/q02.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-4/q03.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-4/q04.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-4/q05.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-4/q06.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-4/q07.xq     |   16 -
 .../XQuery/GhcndCount/Partition-1/q02_count.xq  |   11 -
 .../XQuery/GhcndCount/Partition-1/q03_count.xq  |    8 -
 .../XQuery/GhcndCount/Partition-1/q05_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-1/q07_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-2/q02_count.xq  |   11 -
 .../XQuery/GhcndCount/Partition-2/q03_count.xq  |    8 -
 .../XQuery/GhcndCount/Partition-2/q05_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-2/q07_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-4/q02_count.xq  |   11 -
 .../XQuery/GhcndCount/Partition-4/q03_count.xq  |    8 -
 .../XQuery/GhcndCount/Partition-4/q05_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-4/q07_count.xq  |   16 -
 .../GhcndRecords/Partition-1/q02_records.xq     |    9 -
 .../GhcndRecords/Partition-1/q03_records.xq     |    6 -
 .../GhcndRecords/Partition-1/q05_records.xq     |   14 -
 .../GhcndRecords/Partition-1/q07_records.xq     |   14 -
 .../GhcndRecords/Partition-2/q02_records.xq     |    9 -
 .../GhcndRecords/Partition-2/q03_records.xq     |    6 -
 .../GhcndRecords/Partition-2/q05_records.xq     |   14 -
 .../GhcndRecords/Partition-2/q07_records.xq     |   14 -
 .../GhcndRecords/Partition-4/q02_records.xq     |    9 -
 .../GhcndRecords/Partition-4/q03_records.xq     |    6 -
 .../GhcndRecords/Partition-4/q05_records.xq     |   14 -
 .../GhcndRecords/Partition-4/q07_records.xq     |   14 -
 .../quarter_1/sesnors/US000000001_200101_0.xml  |    1 -
 .../half_1/quarter_1/stations/US000000001.xml   |    1 -
 .../quarter_2/sesnors/US000000002_200202_0.xml  |    1 -
 .../half_1/quarter_2/stations/US000000004.xml   |    1 -
 .../quarter_3/sesnors/AS000000003_200303_0.xml  |    1 -
 .../half_2/quarter_3/stations/US000000002.xml   |    1 -
 .../quarter_4/sesnors/US000000004_200404_0.xml  |    1 -
 .../half_2/quarter_4/stations/AS000000003.xml   |    1 -
 vxquery-xtest/tests/XQTSCatalog.xml             | 1013 ----
 vxquery-xtest/tests/XQTSCatalog.xsd             | 1136 -----
 vxquery-xtest/tests/XQTSCatalog.xsl             |  745 ---
 .../tests/XQTSCatalogSecondEdition.xml          | 3816 --------------
 vxquery-xtest/tests/XQTSCatalogSubmission.xml   | 4774 ------------------
 .../tests/cat/AggregatePartition1Queries.xml    |   36 -
 .../tests/cat/AggregatePartition2Queries.xml    |   36 -
 .../tests/cat/AggregatePartition4Queries.xml    |   36 -
 .../tests/cat/GhcndCountPartition1Queries.xml   |   30 -
 .../tests/cat/GhcndCountPartition2Queries.xml   |   30 -
 .../tests/cat/GhcndCountPartition4Queries.xml   |   30 -
 .../tests/cat/GhcndPartition1Queries.xml        |   54 -
 .../tests/cat/GhcndPartition2Queries.xml        |   54 -
 .../tests/cat/GhcndPartition4Queries.xml        |   54 -
 .../tests/cat/GhcndRecordsPartition1Queries.xml |   30 -
 .../tests/cat/GhcndRecordsPartition2Queries.xml |   30 -
 .../tests/cat/GhcndRecordsPartition4Queries.xml |   30 -
 305 files changed, 1358 insertions(+), 12747 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
index 02f35bc..c39f0d2 100644
--- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
+++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
@@ -37,7 +37,8 @@ import org.xml.sax.helpers.XMLReaderFactory;
 public class TestCaseFactory {
     private TestConfiguration tConfig;
     private Map<String, File> srcMap;
-    private String xqtsBase;
+    private File catalog;
+    private String baseDirectory;
     private TestRunnerFactory trf;
     private ExecutorService eSvc;
     private TestCase tc;
@@ -51,8 +52,9 @@ public class TestCaseFactory {
     private int currPathLen;
     int count;
 
-    public TestCaseFactory(String xqtsBase, TestRunnerFactory trf, ExecutorService eSvc, XTestOptions opts) {
-        this.xqtsBase = xqtsBase;
+    public TestCaseFactory(String catalog, TestRunnerFactory trf, ExecutorService eSvc, XTestOptions opts) {
+        this.catalog = new File(catalog);
+        this.baseDirectory = this.catalog.getParent();
         this.trf = trf;
         tConfig = new TestConfiguration();
         tConfig.options = opts;
@@ -82,10 +84,10 @@ public class TestCaseFactory {
             @Override
             public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
                 URL url = new URL(systemId);
-                return new InputSource(xqtsBase + new File(url.getFile()).getCanonicalPath().substring(currPathLen));
+                return new InputSource(baseDirectory + new File(url.getFile()).getCanonicalPath().substring(currPathLen));
             }
         });
-        parser.parse(new InputSource(new FileReader(new File(xqtsBase, "XQTSCatalog.xml"))));
+        parser.parse(new InputSource(new FileReader(catalog)));
         return count;
     }
 
@@ -208,7 +210,7 @@ public class TestCaseFactory {
                     File srcFile = new File(tConfig.testRoot, atts.getValue("", "FileName"));
                     srcMap.put(id, srcFile);
                 } else if ("test-suite".equals(localName)) {
-                    tConfig.testRoot = new File(new File(xqtsBase).getCanonicalFile(), atts.getValue("",
+                    tConfig.testRoot = new File(new File(baseDirectory).getCanonicalFile(), atts.getValue("",
                             "SourceOffsetPath"));
                     tConfig.xqueryQueryOffsetPath = new File(tConfig.testRoot, atts.getValue("",
                             "XQueryQueryOffsetPath"));

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
index 491b01d..41040f4 100644
--- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
+++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
@@ -78,7 +78,7 @@ public class XTest {
         });
         trf = new TestRunnerFactory(opts);
         trf.registerReporters(reporters);
-        TestCaseFactory tcf = new TestCaseFactory(opts.xqtsBase, trf, eSvc, opts);
+        TestCaseFactory tcf = new TestCaseFactory(opts.catalog, trf, eSvc, opts);
         count = tcf.process();
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
index af40d67..4788b6e 100644
--- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
+++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
@@ -23,8 +23,8 @@ public class XTestOptions {
     @Option(name = "-port", required = false, usage = "Port for web server to listen on")
     int port;
 
-    @Option(name = "-xqtsbase", required = true, usage = "XQTS Base Directory")
-    String xqtsBase;
+    @Option(name = "-catalog", required = true, usage = "Test Catalog XML")
+    String catalog;
 
     @Option(name = "-threads", required = false, usage = "Number of threads")
     int threads;

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt
new file mode 100644
index 0000000..7ef6ffe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt
@@ -0,0 +1 @@
+12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt
new file mode 100644
index 0000000..dc7b54a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt
@@ -0,0 +1 @@
+33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt
new file mode 100644
index 0000000..ea1acb6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt
@@ -0,0 +1 @@
+11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt
new file mode 100644
index 0000000..2b82dfe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt
@@ -0,0 +1 @@
+60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt
new file mode 100644
index 0000000..7ef6ffe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt
@@ -0,0 +1 @@
+12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt
new file mode 100644
index 0000000..dc7b54a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt
@@ -0,0 +1 @@
+33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt
new file mode 100644
index 0000000..ea1acb6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt
@@ -0,0 +1 @@
+11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt
new file mode 100644
index 0000000..2b82dfe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt
@@ -0,0 +1 @@
+60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt
new file mode 100644
index 0000000..7ef6ffe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt
@@ -0,0 +1 @@
+12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt
new file mode 100644
index 0000000..dc7b54a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt
@@ -0,0 +1 @@
+33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt
new file mode 100644
index 0000000..ea1acb6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt
@@ -0,0 +1 @@
+11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt
new file mode 100644
index 0000000..2b82dfe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt
@@ -0,0 +1 @@
+60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
new file mode 100644
index 0000000..e6116d0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
@@ -0,0 +1,2 @@
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
new file mode 100644
index 0000000..ff4bc9b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
@@ -0,0 +1 @@
+<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
new file mode 100644
index 0000000..f30101c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
@@ -0,0 +1 @@
+3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
new file mode 100644
index 0000000..c5b9925
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
@@ -0,0 +1,3 @@
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
new file mode 100644
index 0000000..9f5aceb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
@@ -0,0 +1 @@
+1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
new file mode 100644
index 0000000..ca942fc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
@@ -0,0 +1,3 @@
+<displayName>Station 2</displayName>
+<date>2002-02-02T00:00:00.000</date>
+<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
new file mode 100644
index 0000000..bfda7af
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
@@ -0,0 +1 @@
+1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
new file mode 100644
index 0000000..e6116d0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
@@ -0,0 +1,2 @@
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
new file mode 100644
index 0000000..ff4bc9b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
@@ -0,0 +1 @@
+<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
new file mode 100644
index 0000000..f30101c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
@@ -0,0 +1 @@
+3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
new file mode 100644
index 0000000..c5b9925
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
@@ -0,0 +1,3 @@
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
new file mode 100644
index 0000000..9f5aceb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
@@ -0,0 +1 @@
+1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
new file mode 100644
index 0000000..ca942fc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
@@ -0,0 +1,3 @@
+<displayName>Station 2</displayName>
+<date>2002-02-02T00:00:00.000</date>
+<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
new file mode 100644
index 0000000..bfda7af
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
@@ -0,0 +1 @@
+1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
new file mode 100644
index 0000000..e6116d0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
@@ -0,0 +1,2 @@
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
new file mode 100644
index 0000000..ff4bc9b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
@@ -0,0 +1 @@
+<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
new file mode 100644
index 0000000..f30101c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
@@ -0,0 +1 @@
+3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
new file mode 100644
index 0000000..c5b9925
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
@@ -0,0 +1,3 @@
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
new file mode 100644
index 0000000..9f5aceb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
@@ -0,0 +1 @@
+1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
new file mode 100644
index 0000000..ca942fc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
@@ -0,0 +1,3 @@
+<displayName>Station 2</displayName>
+<date>2002-02-02T00:00:00.000</date>
+<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
new file mode 100644
index 0000000..bfda7af
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
@@ -0,0 +1 @@
+1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/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/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
new file mode 100644
index 0000000..a533a86
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
@@ -0,0 +1 @@
+<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
new file mode 100644
index 0000000..8d77b4d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
@@ -0,0 +1,3 @@
+<value>31</value>
+<value>32</value>
+<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
new file mode 100644
index 0000000..802ab3c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
@@ -0,0 +1 @@
+<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
new file mode 100644
index 0000000..fdd1637
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
@@ -0,0 +1,3 @@
+19.75
+19.5
+19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
new file mode 100644
index 0000000..a533a86
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
@@ -0,0 +1 @@
+<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
new file mode 100644
index 0000000..8d77b4d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
@@ -0,0 +1,3 @@
+<value>31</value>
+<value>32</value>
+<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
new file mode 100644
index 0000000..802ab3c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
@@ -0,0 +1 @@
+<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
new file mode 100644
index 0000000..fdd1637
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
@@ -0,0 +1,3 @@
+19.75
+19.5
+19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
new file mode 100644
index 0000000..a533a86
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
@@ -0,0 +1 @@
+<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
new file mode 100644
index 0000000..8d77b4d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
@@ -0,0 +1,3 @@
+<value>31</value>
+<value>32</value>
+<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
new file mode 100644
index 0000000..802ab3c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
@@ -0,0 +1 @@
+<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
new file mode 100644
index 0000000..fdd1637
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
@@ -0,0 +1,3 @@
+19.75
+19.5
+19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
new file mode 100644
index 0000000..498baaf
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the average minimum temperature.                                            :)
+fn:avg(
+    let $collection := "TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
new file mode 100644
index 0000000..3a2609b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the number of wind sensor readings.                                            :)
+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 "AWND" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
new file mode 100644
index 0000000..161b409
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest max temperature.                                            :)
+fn:max(
+    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/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
new file mode 100644
index 0000000..0a135d1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the lowest min temperature.                                            :)
+fn:min(
+    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 "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
new file mode 100644
index 0000000..91a2c4c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the total precipitation.                                            :)
+fn:sum(
+    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 "PRCP" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
new file mode 100644
index 0000000..864fdb9
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the average minimum temperature.                                            :)
+fn:avg(
+    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 "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
new file mode 100644
index 0000000..3ad16b6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the number of wind sensor readings.                                            :)
+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 "AWND" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
new file mode 100644
index 0000000..82b1061
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest max temperature.                                            :)
+fn:max(
+    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/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
new file mode 100644
index 0000000..d990aff
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the lowest min temperature.                                            :)
+fn:min(
+    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 "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
new file mode 100644
index 0000000..8c9bea9
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the total precipitation.                                            :)
+fn:sum(
+    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 "PRCP" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
new file mode 100644
index 0000000..d50166d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the average minimum temperature.                                            :)
+fn:avg(
+    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 "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
new file mode 100644
index 0000000..cebf3e6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the number of wind sensor readings.                                            :)
+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 "AWND" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
new file mode 100644
index 0000000..ba4f771
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest max temperature.                                            :)
+fn:max(
+    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/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
new file mode 100644
index 0000000..b37f462
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the lowest min temperature.                                            :)
+fn:min(
+    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 "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
new file mode 100644
index 0000000..c41c7b6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the total precipitation.                                            :)
+fn:sum(
+    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 "PRCP" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
new file mode 100644
index 0000000..86241cd
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
@@ -0,0 +1,11 @@
+(: XQuery Filter Query :)
+(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
+(: the weather readings for December 25 over the last 10 years.               :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $r in collection($collection)/dataCollection/data
+let $datetime := xs:dateTime(fn:data($r/date))
+where $r/station eq "GHCND:AS000000003" 
+    and fn:year-from-dateTime($datetime) ge 2000
+    and fn:month-from-dateTime($datetime) eq 3 
+    and fn:day-from-dateTime($datetime) eq 3
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
new file mode 100644
index 0000000..1572994
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
@@ -0,0 +1,8 @@
+(: XQuery Filter Query :)
+(: Find all reading for hurricane force wind warning or extreme wind warning. :)
+(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
+(: meters per second). (Wind value is in tenth of a meter per second)         :)
+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 "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
new file mode 100644
index 0000000..d363fbf
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:sum(
+    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
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
new file mode 100644
index 0000000..75a8935
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:max(
+    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
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
new file mode 100644
index 0000000..61452fb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find all the weather readings for Washington state for a specific day    :)
+(: 2002-2-2.                                                                  :)
+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 "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
+    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
+return $r
\ No newline at end of file