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): support virtual tables with lazy tables #27404

Merged
merged 7 commits into from
Jan 9, 2025

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Jan 9, 2025

See #27132

Problem

Tests were failing in #27067 because of a bug (unimplemented feature) of HogQL

See https://posthog.slack.com/archives/C088J0X5CAC

Changes

  • Makes the combination of lazy tables and virtual tables work.
  • Removes the special case for poe virtual table handling + materialized columns as it's now covered in the general case

How did you test this code?

All tests kept working. I'll see if I can add something here, but the test in #27067 will indirectly cover it.

Copy link
Contributor

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

I've confirmed this fixes #27067

CleanShot 2025-01-09 at 07 51 24@2x

Thank you!

@danielbachhuber danielbachhuber enabled auto-merge (squash) January 9, 2025 22:45
@danielbachhuber danielbachhuber merged commit dbbbaa4 into master Jan 9, 2025
92 checks passed
@danielbachhuber danielbachhuber deleted the lazy-table-virtual-table branch January 9, 2025 22:46
danielbachhuber added a commit that referenced this pull request Jan 9, 2025
fuziontech added a commit that referenced this pull request Jan 10, 2025
* master: (659 commits)
  fix: more tz/date fiddling to get this property thing working (#27423)
  fix(hogql): support virtual tables with lazy tables (#27404)
  fix: Removing target options for survey resets its value to remove validation error (#27139)
  chore: Use `actions/{download,upload}-artifact@v4` (#27413)
  feat(clickhouse): when HTTP pass ca_cert and verify  to pool manager (#27399)
  fix: typo in dashboard template configuration (#27417)
  fix(experiments): Force refresh when `start_date` is provided (#27396)
  feat(data-warehouse): Reset the pipeline source files when resync is selected on the frontend (#27402)
  chore(data-warehouse): Added SSL error as a non retryable error (#27395)
  chore(data-warehouse): Upgrade deltalake package (#27393)
  chore(data-warehouse): Kill the delta subprocess if need be (#27392)
  feat: Add P75 quantile (#27409)
  fix: property labels need to be known about in the backend but are defined in the front end (#27328)
  fix(editor-3001): show header on mobile for editor (#27373)
  chore: Enable web vitals capture (#27394)
  feat: Add human friendly comparison periods toggle (#27176)
  feat: promote data warehouse from taxonomic filter component (#27364)
  chore(experiments): Improve result state resetting (#27391)
  fix: Track records completed in heartbeat (#26686)
  fix(data-warehouse): Handle NaN values from SQL sources (#27360)
  ...
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