https://github.com/Paradigm4/shim
Revision 71f0e04acb371ab26b42f20f69c90d79a4d1b7c2 authored by Dave Gosselin on 22 February 2020, 16:02:50 UTC, committed by dgosselin on 22 February 2020, 16:03:03 UTC
the query result (either by supplying '-n' with iquery or not pulling
the result array here in the shim) then any side-effects of query execution
are not guaranteed to occur.  For example, a query like 'apply(arr, x, func(v))'
that is executed but not pulled by the client will not guarantee that
function 'func' is applied to every v in arr.
This change, and the corresponding change in SciDB, is a temporary
workaround until CCM roll-out occurs, whereby a consume() is injected
at the root of the query when the client indicates that they will not
pull the query result.  In that case, consume() acts to pull the result
array on every instance, therby ensuring side-effects occur just as they
would had the client pulled the result array.

Fixes read.sh test script to accomodate list() output format change.
1 parent 22ed205
History
Tip revision: 71f0e04acb371ab26b42f20f69c90d79a4d1b7c2 authored by Dave Gosselin on 22 February 2020, 16:02:50 UTC
Before this change, and in the case that the client ignores
Tip revision: 71f0e04
File Mode Size
docs
docs_gen
examples
extern
init.d
man
src
tests
wwwroot
.gitignore -rw-r--r-- 16 bytes
.travis.yml -rw-r--r-- 2.3 KB
LICENSE -rw-r--r-- 2.5 KB
Makefile -rw-r--r-- 10.2 KB
README.md -rw-r--r-- 6.6 KB
README.mongoose -rw-r--r-- 281 bytes
agpl-3.0.txt -rw-r--r-- 33.7 KB

README.md

back to top