(formatter *Formatter)
| 379 | } |
| 380 | |
| 381 | func (a *AlterTableMaterializeIndex) FormatSQL(formatter *Formatter) { |
| 382 | formatter.WriteString("MATERIALIZE INDEX") |
| 383 | |
| 384 | if a.IfExists { |
| 385 | formatter.WriteString(" IF EXISTS") |
| 386 | } |
| 387 | formatter.WriteByte(whitespace) |
| 388 | formatter.WriteExpr(a.IndexName) |
| 389 | if a.Partition != nil { |
| 390 | formatter.Break() |
| 391 | formatter.WriteString("IN ") |
| 392 | formatter.WriteExpr(a.Partition) |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | func (a *AlterTableMaterializeProjection) FormatSQL(formatter *Formatter) { |
| 397 | formatter.WriteString("MATERIALIZE PROJECTION") |
nothing calls this directly
no test coverage detected