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

[REPL] Bug related to hitting enter from middle of line containing semi-colon #10

Open
alancai98 opened this issue May 8, 2023 · 0 comments
Labels
bug Something isn't working repl

Comments

@alancai98
Copy link
Member

Copied from this PR comment: #9 (comment).

There's a bug in the REPL where hitting enter from the middle of the query containing a semi-colon will repeat the query. For example, if a user typed the following query and moved the cursor to the left (this could be common when adjusting the query), the query would be repeated in the output.

PartiQL> SELECT COUNT(1) FROM <<{'a': 1}, {'a': 2}>>;
==='
<<
  {
    _1: 2
  }
>>
PartiQL> SELECT COUNT(1) FROM <<{'a': 1}, {'a': 2}>>;

---
OK!
PartiQL>
@alancai98 alancai98 added bug Something isn't working repl labels May 8, 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 repl
Projects
None yet
Development

No branches or pull requests

1 participant