sqlmesh
sqlmesh copied to clipboard
Fix: Include column types in Databricks materialized views with comments
Summary
- Fixes an issue where Databricks materialized views with column comments were missing column type definitions
- Databricks requires column types to be explicitly specified in CREATE MATERIALIZED VIEW statements when column comments are present
Technical Details
The fix overrides the is_view parameter to False when building column definitions for
materialized views that have column comments. This ensures the base class includes column types
in the schema definition, which Databricks requires for this scenario.
Let me know if we should take do another approach for this.