Conversation
tgruben
left a comment
There was a problem hiding this comment.
LGTM with a few minor tweaks
|
I vote "no" on time fields - keep things simple for now. |
|
I vote only set fields |
|
Since we're only supporting |
|
This supports an arbitrary bitmap call, right? I would suggest adding a second docs example explicitly showing something simple like I agree on only supporting I can imagine performing arithmetic operations on |
0badaac to
e25c0ac
Compare
|
@alanbernstein I added another example to the query docs. I think that I like the idea of storing arithmetic operations performed on |
e25c0ac to
16811bc
Compare
Overview
This PR implements
Store(<row_query>, <fieldname>=10). Currently, it's only supported onsetfields. It's not clear to me yet how we would support this onmutexandboolfields. And I don't think it makes sense to store arowresult intointortimefields (although I suppose ifStore()took an optional timestamp, it could apply the row to all time quantums).Also, the PQL function is
Store(), but internally everything isSetRow()because it seemed like a complement toClearRow().Fixes #637 (at least the first phase of it)
TODO:
timefields.Pull request checklist
Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.