Skip to content
New issue

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

LJoinNode::fieldOrders is calculated incorrectly #5

Open
yeputons opened this issue Oct 22, 2017 · 0 comments
Open

LJoinNode::fieldOrders is calculated incorrectly #5

yeputons opened this issue Oct 22, 2017 · 0 comments

Comments

@yeputons
Copy link

Assuming that fieldOrders vector should contain invariant about order of rows corresponding to that field, LJoinNode initiates it incorrectly: it assumes that all non-joined columns remain sorted in the same way as they were. However, it's clearly not the case, e.g. if we join these two tables on column A:

| A | B |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |

| A | C |
| 3 | 1 |
| 1 | 2 |
| 3 | 3 |

After join, column C will become unsorted.

yeputons added a commit to yeputons/au-db-fall-2017 that referenced this issue Oct 23, 2017
@yeputons yeputons mentioned this issue Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant