(formatter *Formatter)
| 394 | } |
| 395 | |
| 396 | func (a *AlterTableMaterializeProjection) FormatSQL(formatter *Formatter) { |
| 397 | formatter.WriteString("MATERIALIZE PROJECTION") |
| 398 | |
| 399 | if a.IfExists { |
| 400 | formatter.WriteString(" IF EXISTS") |
| 401 | } |
| 402 | formatter.WriteByte(whitespace) |
| 403 | formatter.WriteExpr(a.ProjectionName) |
| 404 | if a.Partition != nil { |
| 405 | formatter.Break() |
| 406 | formatter.WriteString("IN ") |
| 407 | formatter.WriteExpr(a.Partition) |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | func (a *AlterTableModifyColumn) FormatSQL(formatter *Formatter) { |
| 412 | formatter.WriteString("MODIFY COLUMN ") |
nothing calls this directly
no test coverage detected