Skip to content

Commit

Permalink
Remove cache checker in logical plan (#3178)
Browse files Browse the repository at this point in the history
The cache logic will be rewritten at the physical plan layer, using
ports as the caching unit. This version is being removed temporarily.
  • Loading branch information
Yicong-Huang authored Dec 30, 2024
1 parent d85ce7a commit 14572dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 114 deletions.

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

0 comments on commit 14572dd

Please sign in to comment.