Skip to content

Fixes for subquery in FROM#94

Merged
oskar-van-rest merged 1 commit intomasterfrom
subquery_in_from_fixes
Aug 12, 2022
Merged

Fixes for subquery in FROM#94
oskar-van-rest merged 1 commit intomasterfrom
subquery_in_from_fixes

Conversation

@oskar-van-rest
Copy link
Copy Markdown
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 9, 2022

private List<String> getVertexProperties(PgqlResult result) {
QueryVariable vertex = result.getGraphQuery().getGraphPattern().getVertices().iterator().next();
return result.getAllProperties(vertex);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this was created for GraphViz but never got used so I cleaned it up now

QueryVariable edge = result.getGraphQuery().getGraphPattern().getConnections().iterator().next();
return result.getAllProperties(edge);
}
public void testOneRowPerStep() throws Exception {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we had a test like this for ONE ROW PER VERTEX and ONE ROW PER EDGE, but one for ONE ROW PER STEP was missing

@oskar-van-rest oskar-van-rest merged commit c1d6b04 into master Aug 12, 2022
@oskar-van-rest oskar-van-rest deleted the subquery_in_from_fixes branch August 16, 2022 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

2 participants