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

Remove getPositionOfCurrIdx #1095

Merged
merged 1 commit into from
Dec 6, 2022
Merged

Remove getPositionOfCurrIdx #1095

merged 1 commit into from
Dec 6, 2022

Conversation

ray6080
Copy link
Contributor

@ray6080 ray6080 commented Dec 6, 2022

This is the first PR to solve issue #744 .
This PR removes the use of getPositionOfCurrIdx(), which is a specialized interface to get selected pos of a flat state.

The goal of this and the following PRs is to remove the concept of flat/unflat in the backend, so the front end still keeps track of flat and unflat for factorized structures, while the backend only needs to differentiate the cardinality of 1 and N.
For any two vectors with two different states, we allow computation over the cartesian product of 1 X N, 1 X 1 and N X 1.
For N X N, it is only allowed for two vectors with the same state.

src/processor/operator/hash_join/join_hash_table.cpp Outdated Show resolved Hide resolved
src/processor/operator/flatten.cpp Outdated Show resolved Hide resolved
src/processor/operator/flatten.cpp Show resolved Hide resolved
@ray6080 ray6080 merged commit b943f09 into master Dec 6, 2022
@ray6080 ray6080 deleted the remove-is-flat branch December 6, 2022 20:54
@ray6080 ray6080 changed the title Remove getPositionOfCurrIdx Remove getPositionOfCurrIdx Jan 29, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants