[V3] Table to Storage configuration file
This is the description of the JSON configuration file of a Table to Storage data operation.
👁️🗨️ Example
{
"$schema": "http://jsonschema.tailer.ai/schema/table-to-storage-v3editor",
"configuration_type": "table-to-storage",
"configuration_id": "tts-some-id-example",
"short_description": "Short description of the job",
"environment": "DEV",
"account": "000099",
"version": "3",
"activated": true,
"archived": false,
"doc_md": "readme.md",
"start_date" : "2023, 2, 10",
"schedule_interval" : "5 1 * * *",
"print_header": true,
"destination_format": "CSV",
"gcs_dest_bucket": "fd-io-test-bucket-out",
"gcs_dest_prefix": "tts_exemple/",
"gcp_project_id": "fd-tailer-demo",
"field_delimiter": ",",
"compression": "None",
"sql_query_template": "TEMPLATE_CURRENT_DATE",
"bq_data_location": "EU",
"generate_top_file": false,
"delete_dest_bucket_content": false,
"tasks": [
{
"task_id": "Export_with_default_values",
"sql_file" : "the_tts_SQL_file.sql",
"output_filename" : "THE_FILE_NAME_{{FD_DATE}}.csv",
"copy_table": true,
"dest_gcp_project_id": "fd-tailer-demo",
"dest_gbq_dataset": "dlk_exemple_tts",
"dest_gbq_table": "to_exemple_tts",
"dest_gbq_table_suffix": "dag_execution_date",
"bq_data_location": "US"
},
{
"task_id": "Export_with_specific_values",
"gcs_dest_bucket": "different-bucket-out",
"gcs_dest_prefix": "tts_number_2/",
"gcp_project_id": "fd-tailer-destination",
"field_delimiter": "|",
"compression": "GZIP",
"sql_file": "my_other_SQL_file.sql",
"output_filename": "A_DIFFERENT_FILE_NAME_{{FD_DATE}}.csv",
"destination_format": "NEWLINE_DELIMITED_JSON",
"sql_query_template": "TEMPLATE_CURRENT_DATE",
"generate_top_file": true,
"delete_dest_bucket_content": false,
"copy_table": true,
"dest_gcp_project_id": "fd-tailer-demo-destination",
"dest_gbq_dataset": "my_destination_dataset",
"dest_gbq_table": "my_other_extraction",
"dest_gbq_table_suffix": "dag_execution_date"
}
]
}🌐 Global parameters
Parameter
Description
📩Tasks Parametrers
Parameter
Description
Last updated