Skip to content

Commit

Permalink
Rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bersprockets committed Oct 29, 2024
1 parent 79ced8b commit b073289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class RewriteSubquerySuite extends PlanTest {
assert(tracker.rules(RewritePredicateSubquery.ruleName).numEffectiveInvocations == 0)
}

test("stuffing") {
test("SPARK-50091: Don't put aggregate expression in join condition") {
val relation1 = LocalRelation($"c1".int, $"c2".int, $"c3".int)
val relation2 = LocalRelation($"col1".int, $"col2".int, $"col3".int)
val query = relation2.select(sum($"col2").in(ListQuery(relation1.select($"c3"))))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2801,7 +2801,7 @@ class SubquerySuite extends QueryTest
}
}

test("stuffing") {
test("SPARK-50091: Handle aggregates in left-hand operand of IN-subquery") {
withTable("v1", "v2") {
sql("""CREATE OR REPLACE TEMP VIEW v1 (c1, c2, c3) AS VALUES
|(1, 2, 2), (1, 5, 3), (2, 0, 4), (3, 7, 7), (3, 8, 8)""".stripMargin)
Expand Down

0 comments on commit b073289

Please sign in to comment.