Skip to content

Commit

Permalink
fix all testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav274 committed Oct 10, 2023
1 parent 2ecf623 commit 9289dfc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/integration_tests/long/test_optimizer_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
PushDownFilterThroughApplyAndMerge,
PushDownFilterThroughJoin,
ReorderPredicates,
XformLateralJoinToLinearFlow,
)
from evadb.optimizer.rules.rules_manager import RulesManager, disable_rules
from evadb.plan_nodes.predicate_plan import PredicatePlan
Expand Down Expand Up @@ -108,16 +107,6 @@ def test_should_benefit_from_pushdown(self, merge_mock, evaluate_mock):
# on all the frames
self.assertGreater(evaluate_count_without_rule, 3 * evaluate_count_with_rule)

result_without_xform_rule = None
rules_manager = RulesManager()
with disable_rules(rules_manager, [XformLateralJoinToLinearFlow()]):
custom_plan_generator = PlanGenerator(self.evadb, rules_manager)
result_without_xform_rule = execute_query_fetch_all(
self.evadb, query, plan_generator=custom_plan_generator
)

self.assertEqual(result_without_xform_rule, result_with_rule)

def test_should_pushdown_without_pushdown_join_rule(self):
query = """SELECT id, obj.labels
FROM MyVideo JOIN LATERAL
Expand Down

0 comments on commit 9289dfc

Please sign in to comment.