-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Data] Restructure the user-provided optimizer rules file (#38829)
* Disable EliminateBuildOutputBlocks rule temporarily Signed-off-by: Cheng Su <[email protected]> * Change to use default and user-provided rules Signed-off-by: Cheng Su <[email protected]> * Rename to _user_provided_optimizer_rules.py Signed-off-by: Cheng Su <[email protected]> * Disable EliminateBuildOutputBlocks temporarily Signed-off-by: Cheng Su <[email protected]> --------- Signed-off-by: Cheng Su <[email protected]>
- Loading branch information
Showing
5 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
python/ray/data/_internal/logical/rules/_default_optimizer_rules.py
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
python/ray/data/_internal/logical/rules/_user_provided_optimizer_rules.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Users can provide extra logical optimization rules here | ||
# to be used in `LogicalOptimizer`. | ||
USER_PROVIDED_LOGICAL_RULES = [] | ||
|
||
# Users can provide extra physical optimization rules here | ||
# to be used in `PhysicalOptimizer`. | ||
USER_PROVIDED_PHYSICAL_RULES = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters