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

Remove cache checker in logical plan #3178

Merged
merged 7 commits into from
Dec 30, 2024
Merged
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
Yicong-Huang marked this conversation as resolved.
Show resolved Hide resolved

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import org.jgrapht.util.SupplierUtil

import java.util
import scala.collection.mutable.ArrayBuffer
import scala.jdk.CollectionConverters.SetHasAsScala
import scala.util.{Failure, Success, Try}

object LogicalPlan {
Expand Down Expand Up @@ -65,14 +64,6 @@ case class LogicalPlan(
.filter(op => jgraphtDag.outDegreeOf(op) == 0)
.toList

def getUpstreamOps(opId: OperatorIdentity): List[LogicalOp] = {
jgraphtDag
.incomingEdgesOf(opId)
.asScala
.map(e => operatorMap(e.fromOpId))
.toList
}

def getUpstreamLinks(opId: OperatorIdentity): List[LogicalLink] = {
links.filter(l => l.toOpId == opId)
}
Expand Down
Loading