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

feat(hogql): edit hogql expressions for tables other than 'events' #17736

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Oct 3, 2023

Problem

Splitting out work from #17470

Changes

Adds a table field to the HogQLMetadata query. This will be used when evaluating/validating HogQL expressions (e.g. properties.bla).

For now, every place that uses the HogQL editor will still validate the expression against the events table. Persons are coming soon.

How did you test this code?

Clicked around, everything worked as before. In the linked PR that has implements PersonsQuerys, this is tested with persons and works.

Copy link
Contributor

@thmsobrmlr thmsobrmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mariusandra mariusandra enabled auto-merge (squash) October 4, 2023 07:46
@mariusandra mariusandra merged commit 1d4d2d4 into master Oct 4, 2023
72 checks passed
@mariusandra mariusandra deleted the hogql-metadata-validation-per-table branch October 4, 2023 08:09
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.

2 participants