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

We don't need to use govendor in Docker. All the deps are checked in. #87

Merged
merged 1 commit into from
May 17, 2016

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented May 17, 2016

This change is Reviewable

@manishrjain manishrjain added the kind/maintenance Maintenance tasks, such as refactoring, with no impact in features. label May 17, 2016
@manishrjain manishrjain added this to the v0.3 milestone May 17, 2016
@pawanrawal
Copy link
Contributor

:lgtm:

Previously, manishrjain (Manish R Jain) wrote…

We don't need to use govendor in Docker. All the deps are checked in.


Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@manishrjain manishrjain merged commit 7c99823 into master May 17, 2016
@manishrjain manishrjain deleted the dmuts branch May 17, 2016 09:11
@manishrjain manishrjain added the kind/maintenance Maintenance tasks, such as refactoring, with no impact in features. label Mar 22, 2018
mangalaman93 pushed a commit that referenced this pull request Mar 1, 2024
Currently when we have a language tagged predicate (example: name).
Querying name should return only untagged values. name@. should return
any language.

Consider dataset
<1> <name> "first user" .
<2> <name@en> "second user" .

query (func: uid(1,2)) { uid name} would return "{uid: 1, name: first
user}".
query (func: uid(1,2)) { uid name@.} would return "{{uid: 1, name@.:
"first user"}, {uid: 2, name@.: "second user"}}".

However due to a bug, we are not enforcing this in @filter(has(name)).
So this results in

query (func: has(dgraph.type)) @filter(has(name)) { uid name} results in
"{{uid: 1, name: "first user'}, {uid: 2}}"

Fix: We update @filter(has(name)) to filter on basis of language.

Fixes:
https://linear.app/hypermode/issue/HYP-311/inconsistent-counts-using-has-at-root

---------

Co-authored-by: Harshil Goel <harshil@dgraph.io>
shivaji-dgraph pushed a commit that referenced this pull request Mar 12, 2024
Currently when we have a language tagged predicate (example: name).
Querying name should return only untagged values. name@. should return
any language.

Consider dataset
<1> <name> "first user" .
<2> <name@en> "second user" .

query (func: uid(1,2)) { uid name} would return "{uid: 1, name: first
user}".
query (func: uid(1,2)) { uid name@.} would return "{{uid: 1, name@.:
"first user"}, {uid: 2, name@.: "second user"}}".

However due to a bug, we are not enforcing this in @filter(has(name)).
So this results in

query (func: has(dgraph.type)) @filter(has(name)) { uid name} results in
"{{uid: 1, name: "first user'}, {uid: 2}}"

Fix: We update @filter(has(name)) to filter on basis of language.

Fixes:
https://linear.app/hypermode/issue/HYP-311/inconsistent-counts-using-has-at-root

---------

Co-authored-by: Harshil Goel <harshil@dgraph.io>
harshil-goel added a commit that referenced this pull request Mar 12, 2024
Currently when we have a language tagged predicate (example: name).
Querying name should return only untagged values. name@. should return
any language.

Consider dataset
<1> <name> "first user" .
<2> <name@en> "second user" .

query (func: uid(1,2)) { uid name} would return "{uid: 1, name: first
user}".
query (func: uid(1,2)) { uid name@.} would return "{{uid: 1, name@.:
"first user"}, {uid: 2, name@.: "second user"}}".

However due to a bug, we are not enforcing this in @filter(has(name)).
So this results in

query (func: has(dgraph.type)) @filter(has(name)) { uid name} results in
"{{uid: 1, name: "first user'}, {uid: 2}}"

Fix: We update @filter(has(name)) to filter on basis of language.

Fixes:
https://linear.app/hypermode/issue/HYP-311/inconsistent-counts-using-has-at-root

---------

Co-authored-by: Harshil Goel <harshil@dgraph.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/maintenance Maintenance tasks, such as refactoring, with no impact in features.
Development

Successfully merging this pull request may close these issues.

2 participants