With the attached simple HTTP server.py running (python3 server.py), the following hangs:
$ echo '{n:1} {n:2}' | super -s -c "c := (from 'http://127.0.0.1:8137' (format json) | count())" -
Details
Repro is with super commit a1e09f7.
The problem seems unique to having more than one input value, as this works ok:
$ super -version
Version: v0.3.0-228-ga1e09f726
$ echo '{n:1}' | super -s -c "c := (from 'http://127.0.0.1:8137' (format json) | count())" -
{n:1,c:1}
It also works if the subquery is using from to pull multiple input values from a non-URL source.
$ echo '{"ok":1} {"ok":1}' > input.sup &&
echo '{n:1} {n:2}' | super -s -c "c := (from 'input.sup' | count())" -
{n:1,c:2}
{n:2,c:2}
With the attached simple HTTP server.py running (
python3 server.py), the following hangs:Details
Repro is with super commit a1e09f7.
The problem seems unique to having more than one input value, as this works ok:
It also works if the subquery is using
fromto pull multiple input values from a non-URL source.