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

Issue 2986533002: [datastore] Fix querying with []byte. (Closed)

Created:
3 years, 5 months ago by iannucci
Modified:
3 years, 5 months ago
Reviewers:
dnj, hinoka
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

[datastore] Fix querying with []byte. impl/prod previously converted []byte to datastore.ByteString for indexed properties and the equality filters are internally represented with indexed properties. However, the datastore SDK rejects ByteString as an equality filter (even though that's what you're supposed to use if you want an indexed []byte in a model). R=dnj@chromium.org, hinoka@chromium.org BUG= Review-Url: https://codereview.chromium.org/2986533002 Committed: https://github.com/luci/gae/commit/a1138385b0ad564e9baf32dc6f7f5eb1ae4eb886

Patch Set 1 #

Patch Set 2 : more targeted fix #

Patch Set 3 : add crappy test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M impl/prod/everything_test.go View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M impl/prod/raw_datastore.go View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
iannucci
3 years, 5 months ago (2017-07-20 03:02:45 UTC) #1
dnj
looks good, but please add a unit test
3 years, 5 months ago (2017-07-20 03:04:55 UTC) #4
iannucci
On 2017/07/20 03:04:55, dnj wrote: > looks good, but please add a unit test This ...
3 years, 5 months ago (2017-07-20 03:14:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2986533002/40001
3 years, 5 months ago (2017-07-20 03:23:20 UTC) #13
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 5 months ago (2017-07-20 03:23:22 UTC) #15
dnj
lgtm
3 years, 5 months ago (2017-07-20 03:28:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2986533002/40001
3 years, 5 months ago (2017-07-20 03:42:27 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-07-20 03:45:31 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/gae/commit/a1138385b0ad564e9baf32dc6f7f5eb1ae4eb886

Powered by Google App Engine
This is Rietveld 408576698