Open
Description
Description
I am unable to execute a basic query in the shell because the compilation in hanging. I am unsure when this was introduced, but is affects 0.13.3.
To Reproduce
Steps to reproduce the behavior:
- Downloaded latest release from Github releases, unzipped to new directory
- Try to execute
SELECT AVG(x) FROM [ 'a', 1, 'c' ] AS x
Expected Behavior
I don't expect this to hang, but I also don't know what it is supposed to return because the PartiQL Specification does not define this behavior.
I would guess this returns { _1: 1 }
in permissive execution because we would filter out all the mistyped ones? But what if the type of x
is unknown?
Rather than filtering a mistyped value (much like SQL says for NULL) we would err in strict mode.
Additional Context
- Java version: ..
- PartiQL version: 0.13.3
- Add any other context about the problem here.