Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation hangs in 0.13.3 shell #1245

Open
RCHowell opened this issue Oct 11, 2023 · 0 comments
Open

Compilation hangs in 0.13.3 shell #1245

RCHowell opened this issue Oct 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@RCHowell
Copy link
Contributor

RCHowell commented Oct 11, 2023

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.
@RCHowell RCHowell added the bug Something isn't working label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant