Clone
 

jarodwen <jarodwen@123451ca-8445-de46-9d55-352943316053> in asterixdb

Fixed an incorrect initialization of the priority queue in external group operator. The bug may cause incorrect merging results.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1266 123451ca-8445-de46-9d55-352943316053

Fixed issue #60 on incorrect aggregate state initialization.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1226 123451ca-8445-de46-9d55-352943316053

Renamed the abstract multi-nc test class to avoid being tested (so failed) on asterix-cluster (maven 2.2.1). This bug is not exposed when using maven 3.0.3.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1155 123451ca-8445-de46-9d55-352943316053

Added tests for the locality-aware connectors.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1152 123451ca-8445-de46-9d55-352943316053

Added map-based connector.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1148 123451ca-8445-de46-9d55-352943316053

Fixed bugs for key maintanance codes in groupers (after being moved out of the aggregators).

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@1024 123451ca-8445-de46-9d55-352943316053

Updated the aggregator interfaces to use ArrayTupleBuilder; removed the state length calculator.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@977 123451ca-8445-de46-9d55-352943316053

Removed getter and setter from AggregateState

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@972 123451ca-8445-de46-9d55-352943316053

Major changes: - Based on Yingyi's review comments, the new interface is written to have the frame output logic out of the aggregators. - Added methods for better management of the size of aggregation states. Now aggregator developer can decide the memory size to be used, and the groupers will assign the memory/frame spaces based on these information. - Fixed some bugs in multiple-field aggregator.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@971 123451ca-8445-de46-9d55-352943316053

Removed the initFromPartial() method from the new aggregator interface; added AvgFieldMergeAggregatorFactory for the merge phase of AVG().

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@967 123451ca-8445-de46-9d55-352943316053

Pre-merge cleanup: removed old aggregator interfaces, and updated codes to use the new interface.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@963 123451ca-8445-de46-9d55-352943316053

  1. … 48 more files in changeset.
Fixed bugs on key fields arrangement when partial grouping values are stored; added test cases to benchmark the new interface.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@962 123451ca-8445-de46-9d55-352943316053

Update issue #52: rewrote GroupingHashTable to use aggregator for key fields output; fixed a bug of incorrect initialization in pre-cluster grouper; tested all integration tests for new aggregation interfaces with larger dataset (so external grouper spills).

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@893 123451ca-8445-de46-9d55-352943316053

Update #52: fixed bugs on external grouper on merging phase; fixed bugs on aggregation integration tests.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@883 123451ca-8445-de46-9d55-352943316053

Update issue #52: added initial version of PreCluster grouper operator; added test case for PreCluster grouper.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@880 123451ca-8445-de46-9d55-352943316053

Update issue #52:

- rewrote the aggregator interface to create a state factory;

- added a wrapper interface for aggregation and changed the original aggregators to be field aggregators, and added a multi-field aggregator wrapper;

- rewrote test cases for new interface;

- added count field aggregator.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@879 123451ca-8445-de46-9d55-352943316053

  1. … 5 more files in changeset.
Update issue #52:

Replaced the aggregate state interface by using a single aggregate state class.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@864 123451ca-8445-de46-9d55-352943316053

Update issue #52:

Added Min/Max String aggregator using the new interface; added two test cases for both in-mem and external hash group operators.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@863 123451ca-8445-de46-9d55-352943316053

Update issue #52

Added AVG aggregator using new interface; added two integration tests for AVG aggregator.

git-svn-id: https://hyracks.googlecode.com/svn/branches/aggregators_dev_next@862 123451ca-8445-de46-9d55-352943316053

Update legacy tuple slot length computation code, regarding to issue #51

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@835 123451ca-8445-de46-9d55-352943316053

Update legacy codes on computing the field slot length in aggregators are updated. And, the incorrect initialization of the sum aggregator is fixed. Fixes issue 51.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@833 123451ca-8445-de46-9d55-352943316053

Bug fixes: - external aggregation integration test: fixed the temporal path generator; - utf-8 compiling failure of storage-am-invertedindex-test on mac.

Features improvement:

- tpch-join client: added algorithm selector "-algo"; added parameters for hybrid/grace-hash operators; added a parameter "-has-groupby" to control whether group-by is performed after the join.

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@832 123451ca-8445-de46-9d55-352943316053