MCPcopy Create free account
hub / github.com/apache/datafusion / order_by_ambiguous_name

Function order_by_ambiguous_name

datafusion/sql/tests/sql_integration.rs:4139–4147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4137
4138#[test]
4139fn order_by_ambiguous_name() {
4140 let sql = "select * from person a join person b using (id) order by age";
4141 let err = logical_plan(sql).unwrap_err().strip_backtrace();
4142
4143 assert_snapshot!(
4144 err,
4145 @"Schema error: Ambiguous reference to unqualified field age"
4146 );
4147}
4148
4149#[test]
4150fn group_by_ambiguous_name() {

Callers

nothing calls this directly

Calls 3

strip_backtraceMethod · 0.80
unwrap_errMethod · 0.80
logical_planFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…