GitHub user jianqiao opened a pull request: https://github.com/apache/incubator-quickstep/pull/155
Add min/max statistics and the exactness flag into CatalogRelationStatistic This PR collects the min/max statistics for each column of a table with the `\analyze` command. It also adds an `is_exact_` flag into `CatalogRelationStatistic` to indicate whether the statistics are up-to-date. Each table's `is_exact_` flag will be set to `true` with the `\analyze` command on that table, and will be set to `false` with the _insert/delete/copy_ operations on that table. This PR is a preparation for implementing some fast-path operators (e.g. exact filters and vector-based aggregation) that significantly improve Quickstep's performance on some of the SSB/TPC-H queries. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-quickstep min-max-stats Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-quickstep/pull/155.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 #155 ---- commit a87c1b24b5cbe35ef5b97340b2c727dd8c8d1e30 Author: Jianqiao Zhu <jianq...@cs.wisc.edu> Date: 2016-10-27T19:16:32Z Add min/max statistics and the exactness flag into CatalogRelationStatistics. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---