Commit 0a64e1f9 authored by David Sztykman's avatar David Sztykman
Browse files

Replace cts.http to add merge and stream settings on table creation

parent 002006d8
......@@ -46,13 +46,40 @@ Content-Type: application/json
{
"name": "{{tablename}}",
"project": "{{projectid}}",
"description": "Demo table with some data"
"description": "Demo table with some data",
"settings": {
"stream": {
"max_minutes_per_partition": 12,
"max_rows_per_partition": 12288000,
"hot_data_max_age_minutes": 15,
"hot_data_max_active_partitions": 4,
"hot_data_max_rows_per_partition": 1000000,
"hot_data_max_minutes_per_partition": 5,
"hot_data_max_open_seconds": 60,
"hot_data_max_idle_seconds": 30,
"cold_data_max_age_days": 365,
"cold_data_max_active_partitions": 5,
"cold_data_max_rows_per_partition": 1000000,
"cold_data_max_minutes_per_partition": 15,
"cold_data_max_open_seconds": 60,
"cold_data_max_idle_seconds": 30
},
"merge": {
"enabled": true,
"partition_duration_minutes": 300,
"input_aggregation": 1536000000,
"max_candidates": 100,
"max_partitions_per_candidate": 10,
"min_age_mins": 1,
"max_age_mins": 262800
}
}
}
### Store, parse table ID from response
@tableid = {{new_table.response.body.uuid}}
#### Createsa a transform for the json format and upload to our table
#### Creates a a transform for the json format and upload to our table
# @name new_transform
POST {{base_url}}orgs/{{org_id}}/projects/{{projectid}}/tables/{{tableid}}/transforms/
Authorization: Bearer {{access_token}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment