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

Extend property reading #1108

Merged
merged 1 commit into from
Dec 11, 2022
Merged

Extend property reading #1108

merged 1 commit into from
Dec 11, 2022

Conversation

andyfengHKU
Copy link
Contributor

This PR abstracts BaseExtend class to make sure all of our extends (i.e. ColumnExtend, ListExtend, GenericExtend) have the same behaviour.

We read all rel properties together with extend to avoid appending listSyncState to resultSet. Also this simplifies our design of GenericExtend. The tricky part is that it's hard to elegantly sync list state between GenericExtend and GenericScanRelProperty. So we choose this simpler design until we have a better solution to read rel properties.

A hidden bug related to scan rel property after deletion can be found at adjList_extend.cpp

Copy link
Contributor

@ray6080 ray6080 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The general comment is we should rename our scan operators to be more accurate.
Suggestions:

AdjColumnExtend -> ScanRelTableColumns
AdjListExtend -> ScanRelTableLists
GenericExtend -> ScanGenericRelTable
ScanSingleTableProperties -> ScanSingleNodeTable
ScanMultiTableProperties -> ScanMultiNodeTable

src/include/processor/operator/base_extend.h Outdated Show resolved Hide resolved
@andyfengHKU andyfengHKU merged commit 2463999 into master Dec 11, 2022
@andyfengHKU andyfengHKU deleted the extend-property-reading branch December 11, 2022 08:53
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