Skip to content

Commit

Permalink
Update unit test for rules
Browse files Browse the repository at this point in the history
  • Loading branch information
xzdandy committed Sep 11, 2023
1 parent a2a1f9a commit a696af6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit_tests/optimizer/rules/test_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
LogicalLimitToPhysical,
LogicalLoadToPhysical,
LogicalOrderByToPhysical,
LogicalProjectNoTableToPhysical,
LogicalProjectToPhysical,
LogicalProjectToRayPhysical,
LogicalRenameToPhysical,
Expand Down Expand Up @@ -135,6 +136,7 @@ def test_rules_promises_order(self):
Promise.LOGICAL_FUNCTION_SCAN_TO_PHYSICAL,
Promise.LOGICAL_FILTER_TO_PHYSICAL,
Promise.LOGICAL_PROJECT_TO_PHYSICAL,
Promise.LOGICAL_PROJECT_NO_TABLE_TO_PHYSICAL,
Promise.LOGICAL_SHOW_TO_PHYSICAL,
Promise.LOGICAL_EXPLAIN_TO_PHYSICAL,
Promise.LOGICAL_CREATE_INDEX_TO_VECTOR_INDEX,
Expand Down Expand Up @@ -218,6 +220,7 @@ def test_supported_rules(self):
LogicalProjectToRayPhysical()
if ray_enabled_and_installed
else LogicalProjectToPhysical(),
LogicalProjectNoTableToPhysical(),
LogicalDerivedGetToPhysical(),
LogicalUnionToPhysical(),
LogicalGroupByToPhysical(),
Expand Down

0 comments on commit a696af6

Please sign in to comment.