mday-io

Results issues of mday-io

## Description Add an `--environment` / `-e` flag to `sqlmesh janitor` that scopes cleanup to a single named environment, and fix `sqlmesh invalidate --sync` to only clean up the named...

**The issue** When using the shortcut, or clicking the menu at the top, the menu will close itself in < 1 second. This means I can't read the contents of...

## Describe the bug When a multi-gateway SQLMesh project uses a default gateway that has a default catalog set (e.g., Trino with `catalog: example_catalog`), that catalog is silently prepended to...

## Core Problem When an `INCREMENTAL_BY_TIME_RANGE` model with `lookback` configured fails during a lookback interval run, it creates a data hole (empty interval) rather than preserving the existing stale data....

Scheduler: Built-in

## Problem Currently, when invalidating an environment with `sqlmesh invalidate -s`, the command only removes the environment record and virtual layer (views/schemas), but does not clean up the physical snapshot...

Feature

## Describe the bug In a multi-gateway project using ClickHouse's virtual-catalog support from #5826, SQLMesh strips the synthetic catalog from the target of a virtual-layer `CREATE VIEW`, but leaves it...

Bug
Engine: Clickhouse

## Describe the bug Expired-environment cleanup can fail for a gateway-managed ClickHouse model because janitor passes a synthetic-catalog-qualified view name to a ClickHouse adapter whose virtual catalog has not been...

Bug
Engine: Clickhouse

## Summary On Postgres, `EngineAdapter.transaction()` runs its pre-ping (`SELECT 1`) before `BEGIN`. psycopg2 isn't in autocommit mode, so that `SELECT 1` starts a transaction. The snapshot evaluator opens `adapter.transaction()` before...

Bug
Engine: Postgres