()
| 3701 | |
| 3702 | #[tokio::test] |
| 3703 | async fn group_by_ambiguous_column() -> Result<()> { |
| 3704 | let err = create_test_table("t1") |
| 3705 | .await? |
| 3706 | .join( |
| 3707 | create_test_table("t2").await?, |
| 3708 | JoinType::Inner, |
| 3709 | &["a"], |
| 3710 | &["a"], |
| 3711 | None, |
| 3712 | )? |
| 3713 | .aggregate(vec![col("b")], vec![max(col("a"))]) |
| 3714 | .unwrap_err(); |
| 3715 | |
| 3716 | assert_snapshot!(err.strip_backtrace(), @"Schema error: Ambiguous reference to unqualified field b"); |
| 3717 | Ok(()) |
| 3718 | } |
| 3719 | |
| 3720 | #[tokio::test] |
| 3721 | async fn filter_on_ambiguous_column() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…