Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

get subgraph no prop #1134

Merged
merged 4 commits into from
Jun 15, 2021
Merged

Conversation

nevermore3
Copy link
Contributor

No description provided.

@nevermore3 nevermore3 requested a review from a team June 15, 2021 05:46
@nevermore3 nevermore3 added the ready-for-testing PR: ready for the CI test label Jun 15, 2021
@@ -10,86 +10,86 @@ Feature: Integer Vid subgraph
Scenario: Integer Vid invalid input
When executing query:
"""
GET SUBGRAPH FROM $-.id
GET SUBGRAPH WITH PROP FROM $-.id
Copy link
Contributor

Choose a reason for hiding this comment

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

It's incompatible. Why don't try without prop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be consistent with the path sentence

yixinglu
yixinglu previously approved these changes Jun 15, 2021
@Shylock-Hg Shylock-Hg added the incompatible PR: incompatible with the master branches in the storage or common repos label Jun 15, 2021
@@ -241,16 +245,20 @@ Status GetSubgraphValidator::toPlan() {
return Status::OK();
}

StatusOr<std::vector<storage::cpp2::VertexProp>> GetSubgraphValidator::buildVertexProp() {
StatusOr<GetNeighbors::VertexProps> GetSubgraphValidator::buildVertexProp() {
Copy link
Contributor

@Shylock-Hg Shylock-Hg Jun 15, 2021

Choose a reason for hiding this comment

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

I think you could reuse SchemaUtil::getAllVertexProp function.

Copy link
Contributor Author

@nevermore3 nevermore3 Jun 15, 2021

Choose a reason for hiding this comment

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

Will be refactored in other pr, move it to planner

@laura-ding
Copy link
Contributor

has AddressSanitizer error, solve it first.

@laura-ding laura-ding added the doc affected Solution: improvements or additions to documentation label Jun 15, 2021
@yixinglu yixinglu merged commit 1dcac0c into vesoft-inc:master Jun 15, 2021
@nevermore3 nevermore3 deleted the subgraph_no_prop branch June 15, 2021 11:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
doc affected Solution: improvements or additions to documentation incompatible PR: incompatible with the master branches in the storage or common repos ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants