-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(hogql): many children in tags #27826
Conversation
Size Change: +766 B (+0.07%) Total Size: 1.16 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
THERE ARE NO UI CHANGES HERE |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
common/hogql_parser/setup.py
Outdated
@@ -32,13 +32,13 @@ | |||
|
|||
setup( | |||
name="hogql_parser", | |||
version="1.0.50", | |||
url="https://github.com/PostHog/posthog/tree/master/hogql_parser", | |||
version="1.0.453", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what how 😩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python 👍
c++ 🤷
Problem
You can do
select <a href={properties.url}>{properties.name}</a>
in HogQL, but notselect <a href={properties.url}>{properties.name}{properties.multiple_children}</a>
Changes
Fixes it
We still do not support wildcard text inside the nodes (
select <strong>Hello world!</strong>
will not work, you have to wrap it in{'Hello'}
. This can be fixed, but is a bit more work and will be left for later.Does this work well for both Cloud and self-hosted?
I hope so.
How did you test this code?
Added parsing tests, made sure all other downstream tests (e.g. query runners) kept working.