Commit 6e07b8d
committed
Fix: Include column types in Databricks materialized views with comments
Databricks requires column types to be specified when adding column
comments in CREATE MATERIALIZED VIEW statements. Without the column
types, the comments are silently ignored.
This change adds a Databricks-specific override of _build_column_defs
that forces column types to be included when creating views with column
descriptions.1 parent a99bfaa commit 6e07b8d
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
0 commit comments