Creates a table with default type 'log'. This endpoint offers the same functionality as the typed endpoint but without explicitly specifying the table type. Schema can include column descriptions in the format [name, type, alias, description].
Security
ApiKeyAuth
- https://api.treasuredata.com/v3https://api.treasuredata.com/v3/table/create/{database_name}/{table_name}
- https://api.treasuredata.co.jp/v3https://api.treasuredata.co.jp/v3/table/create/{database_name}/{table_name}
- https://api.ap02.treasuredata.com/v3https://api.ap02.treasuredata.com/v3/table/create/{database_name}/{table_name}
- https://api.eu01.treasuredata.com/v3https://api.eu01.treasuredata.com/v3/table/create/{database_name}/{table_name}
- TableSchemaAsArray
- TableSchemaAsString
curl -i -X POST \
'https://api.treasuredata.com/v3/table/create/Alpha/Bravo?idempotent_key=string&source_table=string&including_properties=true' \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d include_v=false \
-d 'description=Click events.' \
-d 'schema=[["name","string","first_name"],["creation_date","long"]]'Response
{ "database": "Alpha", "table": "Bravo", "type": "log" }