Skip to content

Commit

Permalink
Fix Rex.Op.Path typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell committed Dec 18, 2023
1 parent 2176d21 commit 064b3c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ internal object PlanTransform : PlanBaseVisitor<PlanNode, ProblemCallback>() {

override fun visitRexOpPathIndex(node: Rex.Op.Path.Index, ctx: ProblemCallback): PlanNode {
val root = visitRex(node.root, ctx)
val key = visitRex(node.root, ctx)
val key = visitRex(node.key, ctx)
return org.partiql.plan.Rex.Op.Path.Index(root, key)
}

override fun visitRexOpPathKey(node: Rex.Op.Path.Key, ctx: ProblemCallback): PlanNode {
val root = visitRex(node.root, ctx)
val key = visitRex(node.root, ctx)
val key = visitRex(node.key, ctx)
return org.partiql.plan.Rex.Op.Path.Key(root, key)
}

Expand Down

0 comments on commit 064b3c0

Please sign in to comment.