Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Used create_plan across codebase, removed create_from_select_plan #1446

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions evadb/optimizer/rules/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
from evadb.optimizer.rules.rules_base import Promise, Rule, RuleType
from evadb.parser.types import JoinType, ParserOrderBySortType
from evadb.plan_nodes.apply_and_merge_plan import ApplyAndMergePlan
from evadb.plan_nodes.create_from_select_plan import CreateFromSelectPlan
from evadb.plan_nodes.exchange_plan import ExchangePlan
from evadb.plan_nodes.explain_plan import ExplainPlan
from evadb.plan_nodes.hash_join_build_plan import HashJoinBuildPlan
Expand Down Expand Up @@ -735,9 +734,7 @@ def check(self, before: Operator, context: OptimizerContext):
return True

def apply(self, before: LogicalCreate, context: OptimizerContext):
after = CreateFromSelectPlan(
before.video, before.column_list, before.if_not_exists
)
after = CreatePlan(before.video, before.column_list, before.if_not_exists)
for child in before.children:
after.append_child(child)
yield after
Expand Down
71 changes: 0 additions & 71 deletions evadb/plan_nodes/create_from_select_plan.py

This file was deleted.