-
Notifications
You must be signed in to change notification settings - Fork 504
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
add copy-schema support #1024
add copy-schema support #1024
Conversation
Change-Id: I1b1393c589d8a928b3cb1805a6dc264563d14dc1
a18c62d
to
213e747
Compare
Change-Id: Ie8111979840449fa331ad13af48276514e8654f3
213e747
to
a1e0b27
Compare
Codecov Report
@@ Coverage Diff @@
## master #1024 +/- ##
============================================
+ Coverage 69.15% 69.19% +0.04%
- Complexity 5361 5401 +40
============================================
Files 328 328
Lines 26215 26334 +119
Branches 3731 3750 +19
============================================
+ Hits 18129 18222 +93
- Misses 6327 6333 +6
- Partials 1759 1779 +20 Continue to review full report at Codecov.
|
schema.propertyKey("time").asDate().ifNotExist().create(); | ||
|
||
schema.vertexLabel("person") | ||
.properties("id", "name", "age", "city","weight", "born") |
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.
add space between "city" and "weight"
Assert.assertTrue(g2.existsIndexLabel("personByAge")); | ||
Assert.assertTrue(g2.existsIndexLabel("friendByTime")); | ||
|
||
for (PropertyKey pk : g2.schema().getPropertyKeys()) { |
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.
rename pk -> copied, expected -> origin
Change-Id: I90e78b63b7eab76266ee8f10dca36e82787f4519
Change-Id: I1b1393c589d8a928b3cb1805a6dc264563d14dc1