Params for the script's mustache template
Generate extraction scripts based on a given domain The schemas should at least, specify :
Generate extraction scripts based on a given domain The schemas should at least, specify :
You also have to provide a Mustache (http://mustache.github.io/mustache.5.html) template file.
Here you'll write your extraction export process (sqlplus for Oracle, pgsql for PostgreSQL as an example). In that template you can use the following parameters:
table_name -> the table to export delimiter -> the resulting dsv file delimiter columns -> the columns to export columns is a Mustache map, it gives you access, for each column, to:
Usage: comet [script-gen] [options]
Command: script-gen --domain <value> The domain for which to generate extract scripts --templateFile <value> Script template file --scriptsOutputDir <value> Scripts output folder
Params for the script's mustache template
table to export
cols to export
if table is going to be fully or delta exported
if delta exported, which is the col holding the date of last update
export result dsv delimiter
export dsv file base name (will be completed by current datetime when executed)
where the script is produced