0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/frontend/__snapshots__/scenes-app-notebooks-components-notebook-add-button--with-slow-network-response.png
Eric Duong ac1b57c505
feat(data-warehouse): linking views to posthog models (#16877)
* backend basics for a view

* view parsing "working"

* add tests and make view name unique

* adjust tests

* api tests and edge cases

* typing

* try comment

* fix migration check

* 3 separate tabs

* working create and view view

* add validity checker

* update test

* update test

* Update query snapshots

* Update query snapshots

* add types

* update schema

* Update UI snapshots for `chromium` (2)

* update copy

* adjustments

* view definition

* adjust buttons and ux

* dummy

* edge case for IN operator on s3 table

* remove unnecessary migration

* remove console log

* naming

* Update query snapshots

* Update query snapshots

* update test

* modify statements

* remove ctes and use subquery

* Update query snapshots

* Update query snapshots

* use global join if left is events and right is s3

* add null check

* first model for linking views to tables

* basic column extension from viewlink

* working hogql view column lazyjoin

* fix test views

* update tests

* abbreviate test

* abbreviate test

* remove prop definition

* update migration

* fix test

* var naming

* add join key to/from

* join function

* remove one todo

* add comment

* add validation

* fix type

* Update test_s3_table.py

* Update test_database.py

* merge backend changes from downstream work

* Update query snapshots

* fix test

* remove todos

* remove unnecessary func

* Update query snapshots

* Update query snapshots

* remove printer

* revert trivial change

* make join function a property

* set in initializer

* length and typing

* use validation correctly

* add delete action when saved query is deleted view link should be deleted too

* use saved_query_id not table name

* remove unnecessary delete logic

* Update UI snapshots for `chromium` (1)

* update plural api route

* handle delete, s3 table delete -> view delete

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2023-08-28 14:26:17 -04:00

6.6 KiB
305x400px