partiql/partiql-lang-kotlin

Compilation hangs in 0.13.3 shell

RCHowell opened this issue · 0 comments

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:

  1. Downloaded latest release from Github releases, unzipped to new directory
  2. 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.