This PR adds the optimizer's cardinality estimate to the AbstractPlan object for use during plan execution. Includes test cases to verify it works. This is part of #1467 to add more optimizer estimates to plans.
Additionally, this PR adds an optimizer_test_util class with useful helper functions for creating test tables and generating plans. Future and possibly existing test cases should inherit from this class.
Coverage increased (+0.2%) to 76.736% when pulling a8c779cf91c40b640898a14a79fcd2e6180db1c5 on GustavoAngulo:add_cardinality_estimate into e738acb956306d6914a5a94e6773f410a3eae4a1 on cmu-db:master.
This PR adds the optimizer's cardinality estimate to the AbstractPlan object for use during plan execution. Includes test cases to verify it works. This is part of #1467 to add more optimizer estimates to plans.
Additionally, this PR adds an optimizer_test_util class with useful helper functions for creating test tables and generating plans. Future and possibly existing test cases should inherit from this class.