Skip to content

Commit

Permalink
Rebase EXCLUDE on ORDER BY typing
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell committed Oct 9, 2023
1 parent f60802c commit c249729
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ class PartiQLSchemaInferencerTests {
@Execution(ExecutionMode.CONCURRENT)
fun testJoins(tc: TestCase) = runTest(tc)

// @ParameterizedTest
// @MethodSource("excludeCases")
// @Execution(ExecutionMode.CONCURRENT)
// fun testExclude(tc: TestCase) = runTest(tc)
@ParameterizedTest
@MethodSource("excludeCases")
@Execution(ExecutionMode.CONCURRENT)
fun testExclude(tc: TestCase) = runTest(tc)

@ParameterizedTest
@MethodSource("orderByCases")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ internal class PlanTyper(
val init = input.type.schema.map { it.copy() }
val schema = node.items.fold((init)) { bindings, item -> excludeBindings(bindings, item) }

//
// rewrite
val type = ctx!!.copy(schema)
return rel(type, node)
}
Expand Down

0 comments on commit c249729

Please sign in to comment.