Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Issue 1745703002: Auto-project on distinct inequality fields. (Closed)

Created:
4 years, 10 months ago by dnj
Modified:
4 years, 10 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/gae@master
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

Auto-project on distinct inequality fields. BUG= Committed: https://github.com/luci/gae/commit/63bef7c9b704957bc62cf3691b59c72bcfe544ce

Patch Set 1 #

Total comments: 3

Patch Set 2 : Do it in finalize, not after. #

Total comments: 2

Patch Set 3 : Group similar logics. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -1 line) Patch
M impl/prod/everything_test.go View 2 chunks +31 lines, -1 line 0 comments Download
M service/datastore/query.go View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M service/datastore/query_test.go View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
iannucci
In query.go on line 576, try adding // If we're DISTINCT && have an inequality ...
4 years, 10 months ago (2016-02-27 00:58:51 UTC) #2
iannucci
https://chromiumcodereview.appspot.com/1745703002/diff/1/impl/prod/everything_test.go File impl/prod/everything_test.go (right): https://chromiumcodereview.appspot.com/1745703002/diff/1/impl/prod/everything_test.go#newcode214 impl/prod/everything_test.go:214: So(count, ShouldEqual, 4) We should have a test like ...
4 years, 10 months ago (2016-02-27 01:02:02 UTC) #3
iannucci
https://chromiumcodereview.appspot.com/1745703002/diff/20001/service/datastore/query.go File service/datastore/query.go (right): https://chromiumcodereview.appspot.com/1745703002/diff/20001/service/datastore/query.go#newcode582 service/datastore/query.go:582: } ah... yeah it technically works here too, I ...
4 years, 10 months ago (2016-02-27 01:04:26 UTC) #4
iannucci
lgtm, the project sort order doesn't matter, it's Finalize doing a sort.Strings on it.
4 years, 10 months ago (2016-02-27 01:16:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1745703002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1745703002/40001
4 years, 10 months ago (2016-02-27 01:16:50 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2016-02-27 01:22:09 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/gae/commit/63bef7c9b704957bc62cf3691b59c72bcfe544ce

Powered by Google App Engine
This is Rietveld 408576698