Skip to content

Commit

Permalink
removed confusing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdemarGr committed Jan 11, 2024
1 parent 17416c0 commit 198480a
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ object QueryInterpreter {

def interpretAll(inputs: NonEmptyList[Input[F, ?]]): F[Results] = {
/* We perform an alpha renaming for every input to ensure that every node is distinct
* Every object that the SubqueryInterpreter passes a NodeId to,
* translates that NodeId to its proper alpha-renamed id.
*
* For instance if SubqueryInterpreter_3 invokes an operation that regards NodeId 5 in partition 3,
* then that NodeId must be translated to (3, 5).
*
* Every structure foreign to the SubqueryInterpreter, such as the plan, must record nodes as alpha renamed.
* For all structures below, this occurs after construction.
*/
val indexed = inputs.mapWithIndex { case (input, i) =>
input.copy(continuation = AlphaRenaming.alphaContinuation(i, input.continuation).value)
Expand Down

0 comments on commit 198480a

Please sign in to comment.