We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The t1.v1 inside query's on clause is ambiguous, it's not clear which t1 it's referring to, such query should be rejected by the planner
t1.v1
on
t1
See reproducer in datafusion-cli (Compilred from latest main with cargo run, commit hash d6f3f73)
datafusion-cli
cargo run
DataFusion CLI v41.0.0 > create table t1(v1 int); 0 row(s) fetched. Elapsed 0.070 seconds. > select count(*) from t1 right outer join t1 on t1.v1 > 0; +----------+ | count(*) | +----------+ | 0 | +----------+ 1 row(s) fetched. Elapsed 0.075 seconds.
No response
Found by SQLancer #11030
The text was updated successfully, but these errors were encountered:
DFSchema::check_ambiguous_name
Successfully merging a pull request may close this issue.
Describe the bug
The
t1.v1
inside query'son
clause is ambiguous, it's not clear whicht1
it's referring to, such query should be rejected by the plannerSee reproducer in
datafusion-cli
(Compilred from latest main withcargo run
, commit hash d6f3f73)To Reproduce
No response
Expected behavior
No response
Additional context
Found by SQLancer #11030
The text was updated successfully, but these errors were encountered: