-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When the two table both has c0, then the following sql will work:
❯ explain select c0 from test0, test1;
+---------------+-----------------------------------------------------------------------------------------------------+
| plan_type | plan |
+---------------+-----------------------------------------------------------------------------------------------------+
| logical_plan | Projection: test0.c0 |
| | CrossJoin: |
| | TableScan: test0 projection=[c0] |
| | TableScan: test1 projection=[c0] |The projection part of this sql is not clear, datafusion should throw an error.
To Reproduce
Create two table test0 and test1, which both contain c0.
Run sql explain select c0 from test0, test1;
Expected behavior
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working