GitHub user jihoonson opened a pull request:
https://github.com/apache/tajo/pull/231
Tajo 838 3
The previous work is extended to support indexes for multiple columns or
even expressions. Even though we don't provide any methods to estimate the
query selectivity, users can use the index scan by configuring the session
variables. Finally, I have added more unit tests including performing join,
aggregation, sort after index scans.
As summarized below, some necessary features are still lacked in this work.
However, IMHO, this work is ready to be merged into master branch as a
prototype of query execution using index. Please leave any comments.
Following features should be added.
* Query optimization based on selectivity estimation
* Support index for partitioned tables
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jihoonson/tajo-2 TAJO-838_3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/231.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #231
----
commit bbaf5b003ce29525ee6789fe0d7c57bd4b7390b6
Author: Jihoon Son <[email protected]>
Date: 2014-10-26T07:43:34Z
TAJO-838_3
commit ef4007404dcfca09a59f9356afad812855b636d0
Author: Jihoon Son <[email protected]>
Date: 2014-10-26T07:56:07Z
TAJO-838_3
commit fb55d3304324c61e045c82bacfb118a13757caab
Author: Jihoon Son <[email protected]>
Date: 2014-10-27T09:02:00Z
Merge branch 'index_support' of http://git-wip-us.apache.org/repos/asf/tajo
into TAJO-838_3
commit aa57650fb1bb33ed4cb605301e991bad9ff863ef
Author: Jihoon Son <[email protected]>
Date: 2014-10-28T02:21:10Z
Merge branch 'index_support' of http://git-wip-us.apache.org/repos/asf/tajo
into TAJO-838_3
commit 863ebeabead8904b739714e6b54233018c8d7e30
Author: Jihoon Son <[email protected]>
Date: 2014-10-29T05:49:48Z
Merge branch 'index_support' of http://git-wip-us.apache.org/repos/asf/tajo
into TAJO-838_3
commit cbf0d84f670d509fd396ba636a23c9599e11da6d
Author: Jihoon Son <[email protected]>
Date: 2014-10-31T05:17:45Z
Merge branch 'index_support' of http://git-wip-us.apache.org/repos/asf/tajo
into TAJO-838_3
commit 7a2d8201214cc0f453357c7c935930b8247d537e
Author: Jihoon Son <[email protected]>
Date: 2014-11-02T10:59:06Z
Merge branch 'index_support' of
https://git-wip-us.apache.org/repos/asf/tajo into TAJO-838_3
commit 5e36337d455e78ac199164458c32d39c45f296c7
Author: Jihoon Son <[email protected]>
Date: 2014-11-02T12:38:18Z
Merge branch 'TAJO-838_3' of github.com:jihoonson/tajo-2 into TAJO-838_3
commit e9b9b89cdee86c626930d97fe6a4f76051de3531
Author: Jihoon Son <[email protected]>
Date: 2014-11-03T02:02:07Z
Merge branch 'TAJO-838_3' of github.com:jihoonson/tajo-2 into TAJO-838_3
commit 8640170536b33c3870d9968c81bc27fe2a42ebc6
Author: Jihoon Son <[email protected]>
Date: 2014-11-03T07:43:35Z
TAJO-838_3
commit 61255fbba10f52c891eb30602739abf1eeb95c55
Author: Jihoon Son <[email protected]>
Date: 2014-11-04T12:37:00Z
Merge branch 'index_support' of
https://git-wip-us.apache.org/repos/asf/tajo into TAJO-838_3
Conflicts:
tajo-core/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
commit 9883a363fb7b90b5733c87dd800f0ae2c3cae5b1
Author: Jihoon Son <[email protected]>
Date: 2014-11-05T10:57:04Z
TAJO-838_3
commit cf9afcf75b0c090d45df6be686d8bd41b42abd2d
Author: Jihoon Son <[email protected]>
Date: 2014-11-06T09:03:00Z
TAJO-838_3
commit ee4a07b49c8e39ba854896d4e90237c3411de9fe
Author: Jihoon Son <[email protected]>
Date: 2014-11-06T15:23:11Z
TAJO-838_3
commit b99505bf42a34bcf081c5274e46a74e5185aa239
Author: Jihoon Son <[email protected]>
Date: 2014-11-07T09:36:31Z
TAJO-838_3
commit f7747ece5108e480091386c3734dd79c772fdc2d
Author: Jihoon Son <[email protected]>
Date: 2014-11-09T09:03:09Z
TAJO-838_3
commit 477c1d1583512fd77ca25ab3e02467b395bba95b
Author: Jihoon Son <[email protected]>
Date: 2014-11-09T09:06:19Z
Merge branch 'index_support' of
https://git-wip-us.apache.org/repos/asf/tajo into TAJO-838_3
commit c12a8e96fd77823b8f828e2160492120da396e3d
Author: Jihoon Son <[email protected]>
Date: 2014-11-09T09:19:46Z
TAJO-838_3
commit 06f5d3e76587e3cfae459648cda20cf02198ffdf
Author: Jihoon Son <[email protected]>
Date: 2014-11-09T10:36:33Z
TAJO-838_3
commit 42d254cd50f1524cf93d4b1d23472966a0a66b61
Author: Jihoon Son <[email protected]>
Date: 2014-11-09T11:56:33Z
TAJO-838_3
commit e483b3923c4a9d201137811bef01a6d22c6e8776
Author: Jihoon Son <[email protected]>
Date: 2014-11-09T14:29:59Z
TAJO-838_3
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---