load_file_target
Checks whether a target database table exists and maps file columns to table columns by name, using previewed column info and optional overrides, before loading file data.
Instructions
Does database.table exist, and how do the file's columns ([{name, index, kind, format, source}], from
load_file_preview) map onto it by name (mapping {table column: file column or null} overrides).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| columns | Yes | ||
| mapping | No | ||
| database | Yes |