Helper function to build column list with timestamp handling
(b *strings.Builder, schema sql.Schema)
| 601 | |
| 602 | // Helper function to build column list with timestamp handling |
| 603 | func buildColumnList(b *strings.Builder, schema sql.Schema) { |
| 604 | for i, col := range schema { |
| 605 | if i > 0 { |
| 606 | b.WriteString(", ") |
| 607 | } |
| 608 | b.WriteString(catalog.QuoteIdentifierANSI(col.Name)) |
| 609 | if isTimestampType(col.Type) { |
| 610 | b.WriteString("::TIMESTAMP") |
| 611 | } |
| 612 | } |
| 613 | } |
| 614 | |
| 615 | // Helper function to get the primary key indices. |
| 616 | func getPrimaryKeyIndices(appender *DeltaAppender) []int { |
no test coverage detected