Skip to content

Commit

Permalink
Merge branch 'integration'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu Zhang committed Jan 22, 2025
2 parents 5d4f14b + 5c56c2d commit 7ab2208
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,12 @@ class HighAvailabilityPlanner(dsRef: DatasetRef,
}
//scalastyle:on method.length

def materializeLegacy(logicalPlan: LogicalPlan, qContext: QueryContext): ExecPlan = {
def materializeLegacy(logicalPlan: LogicalPlan, oqContext: QueryContext): ExecPlan = {
// ensure that we do not use any features of shard level failover
val plannerParams = oqContext.plannerParams.copy(
failoverMode = LegacyFailoverMode
)
val qContext = oqContext.copy(plannerParams = plannerParams)
// lazy because we want to fetch failures only if needed
lazy val offsetMillis = LogicalPlanUtils.getOffsetMillis(logicalPlan)
lazy val periodicSeriesTime = getTimeFromLogicalPlan(logicalPlan)
Expand Down

0 comments on commit 7ab2208

Please sign in to comment.