()
| 3683 | |
| 3684 | #[tokio::test] |
| 3685 | async fn sort_on_ambiguous_column() -> Result<()> { |
| 3686 | let err = create_test_table("t1") |
| 3687 | .await? |
| 3688 | .join( |
| 3689 | create_test_table("t2").await?, |
| 3690 | JoinType::Inner, |
| 3691 | &["a"], |
| 3692 | &["a"], |
| 3693 | None, |
| 3694 | )? |
| 3695 | .sort(vec![col("b").sort(true, true)]) |
| 3696 | .unwrap_err(); |
| 3697 | |
| 3698 | assert_snapshot!(err.strip_backtrace(), @"Schema error: Ambiguous reference to unqualified field b"); |
| 3699 | Ok(()) |
| 3700 | } |
| 3701 | |
| 3702 | #[tokio::test] |
| 3703 | async fn group_by_ambiguous_column() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…