Skip to content

Commit 796401e

Browse files
committed
test(unparser): link the join ON gap to its tracking issue
1 parent 9c95781 commit 796401e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

datafusion/sql/tests/cases/plan_to_sql.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4616,7 +4616,8 @@ fn stacked_aggregate_under_a_join_leaves_the_other_side_qualified() -> Result<()
46164616
//
46174617
// The join's `ON` still reads `test.a`: it is built as part of the join and attached
46184618
// after this SELECT's clauses, so it is not among the clauses that are swept. That is
4619-
// unchanged by the requalification and is tracked as its own gap.
4619+
// unchanged by the requalification and is tracked as spiceai/spiceai#12695; pinning it
4620+
// here keeps the gap visible rather than silent.
46204621
assert_snapshot!(
46214622
plan_to_sql(&plan)?,
46224623
@r#"SELECT COUNT(derived_aggregate.a), "other".a FROM (SELECT test.a FROM test GROUP BY test.a) AS derived_aggregate INNER JOIN "other" ON (test.a = "other".a) GROUP BY "other".a"#

0 commit comments

Comments
 (0)