You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address reviewer feedback for Db2 CI isolation and error handling
- Skip test_sqlglot_extended_correctly when db2-sqlglot-dialect is not installed
- Use static exp.DataType.Type enums in SCHEMA_DIFFER_KWARGS in db2.py to allow safe doc-tests collection without plugin
- Revert dead db2 migration code in migration.py to match upstream
- Raise explicit ConfigError in Db2ConnectionConfig._engine_adapter when plugin is missing
- Add plugin disclaimer and SCD Type 2 limitation note in db2.md docs
- Add pyproject.toml to db2.yaml path filters
- Clean up commented-out test configurations in config.yaml and test_integration.py
Signed-off-by: IBM Db2 Eco System <Hdm-dev-persona-db2-eco-system@ibm.com>
Copy file name to clipboardExpand all lines: docs/integrations/engines/db2.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ This page provides information about how to use SQLMesh with [IBM Db2](https://w
5
5
!!! info
6
6
The Db2 engine adapter is a community contribution. Due to this, only limited community support is available.
7
7
8
+
This adapter depends on the external `db2-sqlglot-dialect` package, which pins its own SQLGlot version range. It isn't covered by SQLMesh's core CI and may temporarily break or fail to install after SQLMesh upgrades SQLGlot, until the plugin catches up.
- **SCD Type 2 unsupported**: SCD Type 2 models are currently not supported on Db2.
66
69
- **Single catalog only**: Db2 operates in single-catalog mode; cross-catalog queries are not supported.
67
70
- **No inline column comments**: Column-level comments cannot be set inline during table creation.
68
71
- **No atomic table replacement**: Db2 does not support `CREATE OR REPLACE TABLE`, so full model refreshes are not atomic. There is a brief window during which the table may be empty or partially populated.
0 commit comments