-
Notifications
You must be signed in to change notification settings - Fork 103
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 REL TABLE GROUP and make REL TABLE subsume it #4398
base: master
Are you sure you want to change the base?
Conversation
834b66f
to
91a1b58
Compare
2ae0f4a
to
91a1b58
Compare
2ea6473
to
df8b13e
Compare
ef35b0a
to
88c4d8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool I think we are on the same page. Let's discuss one more time when we wanna support the second type of Copy
for rel group.
27f4fd2
to
1cc31e7
Compare
Benchmark ResultMaster commit hash:
|
6afb82d
to
ba63990
Compare
327c85a
to
57c39cb
Compare
Benchmark ResultMaster commit hash:
|
b4e10d3
to
321673c
Compare
Benchmark ResultMaster commit hash:
|
The high level idea is to remove the notion of REL TABLE GROUP and make REL TABLE subsume its functionality which is defining relationship between different pairs of node tables .
DDL
Allowing multiple
FROM TO
inCREATE REL TABLE
rel table group
if found multiplefrom to pairs
R
rel table groupR_N1_N1, R_N1_N2
rel tableAll DDLs should work on both
rel table
&rel table group
. Check forRel table group
should justDrop an internal table under
rel table group
should be protected.DML
Bind
rel table group
as multi-labeled relationship.SET & DELETE should work directly.
CREATE is allowed only if both src and destination node labels are given, e.g.
Query
Bind
rel table group
as multi-labeled relationship. All existing cases should pass.Copy
First we should provide backward compatibility meaning we still expose internal rel group table for copy, e.g.
we should ask for two extra columns along side
from, to
to indicate node labels, e.g.so that we can directly copy with
Workflows
rel table group entry
if multipleFROM TO
pairs.create rel table group
grammar intocreate rel table
. And we can remove thecreate rel table group
grammar.rel table group
. Finish the #DDL sectionCOPY
COPY
intorel table group
withfrom_label
&to_label
columns