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

Feature/test data #4995

Merged
merged 11 commits into from
Dec 13, 2022
Merged

Feature/test data #4995

merged 11 commits into from
Dec 13, 2022

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Dec 6, 2022

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Description:

Generated by https://github.com/vesoft-inc/nebula-test/tree/app-fuzzer/functional/GDLancer . If you have some suggestions, submit issue in https://github.com/vesoft-inc/nebula-test

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to be reflected in release notes and how to describe:

ex. Fixed the bug .....

@Shylock-Hg Shylock-Hg marked this pull request as ready for review December 8, 2022 03:54
@Shylock-Hg Shylock-Hg added the ready-for-testing PR: ready for the CI test label Dec 8, 2022
| 2 | Start | | |
| id | name | dependencies | operator info |
| 8 | Project | 4 | |
| 4 | AppendVertices | 3 | { "props": "[{\"props\":[\"age\"],\"tagId\": 3}]" } |
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we should remove the tagId from the tests since it depends on the runtime environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree, better display name instead of Id. Could do it in later PR.

@Shylock-Hg Shylock-Hg requested a review from yixinglu December 9, 2022 01:15
@@ -98,7 +98,7 @@ class Prop(Column):
def __init__(self, index: int, name: str, ptype: str):
super().__init__(index)
self._name = name
if ptype not in ['string', 'int', 'double']:
if ptype not in ['string', 'int', 'double', 'bool']:
Copy link
Contributor

Choose a reason for hiding this comment

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

So, there is no time props?

Copy link
Contributor

Choose a reason for hiding this comment

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

Or any complex props, like List, Map?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the generator doesn't support temporal types, you could submit an issue. Nebula doesn't support list/map as property.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, the generator doesn't support temporal types, you could submit an issue. Nebula doesn't support list/map as property.

This is not what we required previously, this need further refinement in the fufure.

@Shylock-Hg Shylock-Hg requested a review from codesigner December 9, 2022 02:39
@@ -98,7 +98,7 @@ class Prop(Column):
def __init__(self, index: int, name: str, ptype: str):
super().__init__(index)
self._name = name
if ptype not in ['string', 'int', 'double']:
if ptype not in ['string', 'int', 'double', 'bool']:
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, the generator doesn't support temporal types, you could submit an issue. Nebula doesn't support list/map as property.

This is not what we required previously, this need further refinement in the fufure.

charset: utf8
collate: utf8_bin
schema: |-
CREATE TAG Label_0 (Label_0_2_Bool Bool, Label_0_5_Int Int, Label_0_6_Double Double, Label_0_8_Double Double, Label_0_9_Double Double, Label_0_10_Bool Bool, Label_0_0_String String, Label_0_1_Int Int, Label_0_3_Int Int, Label_0_4_Int Int, Label_0_7_Bool Bool);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we describe the schema like the picture in LDBC spec?
Screenshot from 2022-12-09 10-48-14

@codecov-commenter
Copy link

Codecov Report

Base: 76.86% // Head: 77.22% // Increases project coverage by +0.36% 🎉

Coverage data is based on head (56a0c8b) compared to base (8adec8d).
Patch coverage: 74.08% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4995      +/-   ##
==========================================
+ Coverage   76.86%   77.22%   +0.36%     
==========================================
  Files        1105     1105              
  Lines       81432    82059     +627     
==========================================
+ Hits        62594    63374     +780     
+ Misses      18838    18685     -153     
Impacted Files Coverage Δ
src/common/datatypes/Value.h 97.05% <ø> (ø)
src/common/expression/TextSearchExpression.h 77.58% <ø> (+20.68%) ⬆️
src/common/http/HttpClient.h 100.00% <ø> (ø)
src/graph/context/Iterator.h 69.23% <0.00%> (ø)
src/graph/context/Symbols.h 100.00% <ø> (ø)
src/graph/executor/admin/SpaceExecutor.cpp 76.19% <0.00%> (-0.74%) ⬇️
src/graph/executor/maintain/FTIndexExecutor.cpp 0.00% <0.00%> (ø)
src/graph/executor/query/TraverseExecutor.h 100.00% <ø> (ø)
src/graph/optimizer/Optimizer.h 100.00% <ø> (ø)
src/graph/planner/match/ArgumentFinder.cpp 88.88% <ø> (-1.59%) ⬇️
... and 131 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@yixinglu yixinglu merged commit 0dce639 into vesoft-inc:master Dec 13, 2022
@Shylock-Hg Shylock-Hg deleted the feature/test-data branch December 14, 2022 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants