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

Implemented several more changes requested during the pull request review #69

Merged
merged 4 commits into from Jul 4, 2018

Conversation

floriankramer
Copy link
Member

Several of the changes requested during the review of the grouping pull request were not yet pushed upstream, as the problem with integers internally being stored as floats was not yet resolved.

Copy link
Member

@niklas88 niklas88 left a comment

Choose a reason for hiding this comment

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

LGTM with suggestions of std::make_shared

// Create a group by operation to determine on which columns the input
// needs to be sorted
SubtreePlan groupByPlan(_qec);
std::shared_ptr<Operation> groupBy(
Copy link
Member

Choose a reason for hiding this comment

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

Could use std::make_shared

final._qet->resultSortedOn() == sortColumns[0].first)) {
// Create an order by operation as required by the group by
std::shared_ptr<Operation> orderBy(
new OrderBy(_qec, final._qet, sortColumns));
Copy link
Member

Choose a reason for hiding this comment

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

std::make_shared

@niklas88
Copy link
Member

Looking at builds all day I noticed we still get some compiler warnings in GTests. Somehow I (mis-)remember that this warning was fixed by one of your changes!? Maybe we could fix it in this PR either way.

…ning.

There was a missing 'break' in Filter.cpp that created a implicit
fallthrough warning.
@floriankramer floriankramer mentioned this pull request Jul 1, 2018
@niklas88
Copy link
Member

niklas88 commented Jul 2, 2018

On Travis CI I still see one more simple compiler warning that can be fixed by doing ASSERT_FALSE(…) instead of ASSERT_EQ(false, …) at test/SparqlParserTest.cpp:420.

@niklas88 niklas88 merged commit 52cfea8 into ad-freiburg:master Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants