can be thought of as a superset of JSON. It must contain a top-level
tag, `map_list`, which itself contains a list of maps, each of which
maps a file to a table or view. The table (or view) names may,
-optionally, be schema qualified. An example map file might be::
+optionally, be schema qualified. The "trim" key is optional, when
+omitted the trim setting from the user interface is applied. An
+example map file might be::
# This file is contents.yml
map_list:
file: foo.csv
relation: foo_table
# Load the bar.csv file into the bar_view uploadable-view of the default
- # schema.
+ # schema. Always trim leading and trailing whitespace from each column.
- file_map:
file: bar.csv
relation: bar_view
+ trim: true
# Load the baz.csv file into the baz_table table of the meta schema.
+ # Never trim leading and trailing whitespace from each column.
- file_map:
file: baz.csv
relation: meta.baz_table
+ trim: false
The files within each directory are uploaded in the order in which
they are listed in the map file. The directories in the zip file are