CreateTemporaryTable implements sql.CreateTemporaryTable.
(ctx *sql.Context, name string, schema sql.PrimaryKeySchema, collation sql.CollationID)
| 288 | logger.WithField("DuckSQL", ddl).Debug("Executing DDL") |
| 289 | } |
| 290 | |
| 291 | _, err := adapter.Exec(ctx, ddl) |
| 292 | if err != nil { |
| 293 | if IsDuckDBTableAlreadyExistsError(err) { |
| 294 | return sql.ErrTableAlreadyExists.New(name) |
| 295 | } |
| 296 | return ErrDuckDB.New(err) |
| 297 | } |
nothing calls this directly
no test coverage detected