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

fix(hogql): c++ parser line numbers #23143

Closed
wants to merge 1 commit into from

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Jun 21, 2024

Problem

The C++ parser returned incorrect positions for errors

Changes

Fixes the logic.

2024-06-21 12 25 17

How did you test this code?

Errors started to show up locally in the right places:

TODO:

I'll wait for #23100 to be merged, then release a new version with the parser from this PR.

@posthog-bot
Copy link
Contributor

It looks like the code of hogql-parser has changed since last push, but its version stayed the same at 1.0.18. 👀
Make sure to resolve this in hogql_parser/setup.py before merging!

@mariusandra
Copy link
Collaborator Author

inlined into #23100

@mariusandra mariusandra deleted the parser-line-numbers branch June 21, 2024 13:08
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

Successfully merging this pull request may close these issues.

4 participants