Cortland Goffena
Cortland Goffena
I'm having trouble fleshing out the test due to the path having to point to the example project. Since I have to trigger the pytest from the root it is...
Right now all unit tests run during a plan unless the `--skip-tests` flag is used. We already have the plan which shows us which models are affected by the changes....
Link: https://github.com/SQLMesh/sqlmesh/actions/runs/32525879293/job/96916106498 AI Notes ## Synopsis `time_machine` freezes the process clock to 2023. Google service-account JWTs use that clock for `iat`/`exp`, so GCP rejects the token (`invalid_grant` / “reasonable timeframe”)....
Link: https://github.com/SQLMesh/sqlmesh/actions/runs/32525879293/job/96916106556 This is broken code in `sqlmesh/core/engine_adapter/clickhouse.py` AI Notes **Failing Tests** `tests/core/engine_adapter/integration/test_integration.py::test_ctas` `tests/core/engine_adapter/integration/test_integration.py::test_ctas_source_columns` **What’s Wrong** When SQLMesh creates a ClickHouse table from a SELECT (CREATE TABLE ... AS SELECT)...
Link: https://github.com/SQLMesh/sqlmesh/actions/runs/32525879293/job/96916106956 Two Issues that are failing the Fabric Tests. These are code based. # AI Notes ## 1 **Failing tests** `tests/core/engine_adapter/integration/test_integration_fabric.py::test_create_drop_catalog` `tests/core/engine_adapter/integration/test_integration.py::test_janitor[fabric-catalog]` **What’s Wrong** Creating a Fabric warehouse that...
AI Notes Link: https://github.com/SQLMesh/sqlmesh/actions/runs/32524629055/job/96906313004 **Failing test** `tests/core/engine_adapter/integration/test_integration_athena.py::test_clear_partition_data` **What’s Wrong** Test assumes the S3 folder starts empty. A earlier attempt already wrote files there (plan failed with src_table not found —...
Link: https://github.com/SQLMesh/sqlmesh/actions/runs/32076174970/job/95529820539 AI Notes **Failing test** `tests/core/engine_adapter/integration/test_integration_postgres.py::test_grants_plan_clone_environment` **What’s Wrong** The test uses a shared fixed Postgres user (test_reader). With parallel workers, another grants test can drop that user (DROP OWNED...
Link: https://github.com/SQLMesh/sqlmesh/actions/runs/32190188666/job/95882655785 AI Notes **Failing Test** `tests/core/engine_adapter/integrationtest_integration_clickhouse.py::test_insert_overwrite_by_condition_by_key_partitioned[[query]clickhouse_cluster]` **What’s Wrong** After a unique-key insert overwrite, id=4 should be 2024-05-01 but the table has 2024-05-02. The assert also looks totally broken because...
Link: https://github.com/SQLMesh/sqlmesh/actions/runs/31642729110/job/94269004530 AI Notes **Failing Tests** None — Spark never ran. Job died during make install-dev. **What’s Wrong** uv pip install failed building dbt-core-experimental-parser==2.0.0b1 (pulled in via sqlmesh[dev] → dbt-core)....
AI Notes **Failed test** `tests/core/test_plan.py::test_disable_restatement` **What's Wrong** - Assert compares plan.restatements end to to_date("tomorrow") with no pinned clock. - Plan build uses now() for restatement end; assertion resolves "tomorrow" again...