* Added incremental syncs for postgres
* Tests
* Fixed mypy
* Added extra protection on the sync form
* Set the correct write disposition for SQL
* PR fixes
* Fixed tests
* Fixed tests
* Fixed tests
* feat(hogql): window functions with params and args
* Use new hogql-parser version
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Randomize Linked feature flag for surveys
* Fix requirements.txt
* remove survey name from linked flag id
* Match positive case and fix requirements file
* use uv pip compile
* Revert "revert: "chore(clickhouse): Capture final SQL in Sentry errors" (#21479)"
This reverts commit 15627818f6.
* Only upgrade `clickhouse-driver` to 0.2.6
* Add "Run migrations for this PR"
* Upgrade dependencies
* Fix middleware error
Among
https://docs.djangoproject.com/en/4.2/releases/4.0/#features-removed-in-4-0
* Upgrade psycopg
We need to be on >= 3.1.8
Locally there is an additional problem that somehow psycopg2
seemingly overshadows psycopg, making it appear that 3.1 works.
Had to install pip install "psycopg[binary,pool]==3.1.2" to
recreate the problem.
* Go to Django 4.1 because of problems with psycopg3
We use custom SQL that somehow doesn't get formatted in the right way
using server or client side cursors.
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Switch TaggedItem tests to assert ValidationError
Because full_clean validates since Django 4.1, see
https://docs.djangoproject.com/en/4.2/releases/4.1/#validation-of-constraints
* Remove type: ignore comments
Come up as
error: Unused "type: ignore" comment
* Update query snapshots
* Figure out psycopg problem and try Django 4.2 again
* Update query snapshots
* Fix other IN errors
* Fix getting status
* Fix psycopg3 issues
* Fix psycopg issues
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update deps
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Fix more tests
* Adjust baseline
* Remove sqlcommenter (should be PostgresQL only anyways)
* Fix file
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Fix queries
* Fix query
* Revert
* Update requirements.in
* Remove restore-virtualenv
Because not maintained anymore
* Revert "Remove restore-virtualenv"
This reverts commit c2a7ef8a1e.
* mypy
* Adjust num queries
* Adjust num queries
* Adjust num queries
* Update query snapshots
* Add to updated_fields
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
* chore(clickhouse): Capture final SQL in Sentry errors
* Upgrade Sentry and use the `clickhouse-driver` integration
* Turn `before_send_transaction` into `error_sampler`
* Update `escape_param_for_clickhouse`
* Fix Sentry init
* Revert "Turn `before_send_transaction` into `error_sampler`"
This reverts commit 8810b49416.
* Fix order of pip installations in migration checks
* fix(hogql): Only expose HogQL exceptions relevant to users
* Update http.py
* Use exposed exceptions more liberally
* Update more handling
* Update action.py
* Rename `Exception` to `Error`
* Use new hogql-parser version
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>