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

cr8 timeit unable to handle comments after final semicolon #379

Open
hlcianfagna opened this issue Jul 31, 2024 · 0 comments
Open

cr8 timeit unable to handle comments after final semicolon #379

hlcianfagna opened this issue Jul 31, 2024 · 0 comments

Comments

@hlcianfagna
Copy link
Contributor

Describe the bug
Trying to use cr8 timeit with complex queries with comments I get failures.

To Reproduce
Pipe the following to cr8 timeit:

SELECT 1;
/* test */

-->

SQLParseException[line 1:11: mismatched input '<EOF>' expecting {'SELECT'

Expected behavior
It runs SELECT 1;

cr8 Version: (cr8 --version)
0.26.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant