create_hg_maxcompute_foreign_table
Create foreign tables in Hologres to query MaxCompute data directly, enabling faster analytics without data movement.
Instructions
Create a MaxCompute foreign table in Hologres database to accelerate queries on MaxCompute data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"maxcompute_project": "<maxcompute_project>",
"maxcompute_tables": "<maxcompute_tables>"
},
"name": "create_hg_maxcompute_foreign_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxcompute_project | Yes | The MaxCompute project name (required) | |
| maxcompute_schema | No | The MaxCompute schema name (optional, default: 'default') | default |
| maxcompute_tables | Yes | The MaxCompute table names (required) | |
| local_schema | No | The local schema name in Hologres (optional, default: 'public') | public |