create_hg_maxcompute_foreign_table
Enable efficient querying of MaxCompute data by creating a foreign table in Hologres, specifying project, schema, and table details for seamless integration.
Instructions
Create a MaxCompute foreign table in Hologres database to accelerate queries on MaxCompute data.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| local_schema | No | The local schema name in Hologres (optional, default: 'public') | public | 
| 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) | 
Input Schema (JSON Schema)
{
  "properties": {
    "local_schema": {
      "default": "public",
      "description": "The local schema name in Hologres (optional, default: 'public')",
      "type": "string"
    },
    "maxcompute_project": {
      "description": "The MaxCompute project name (required)",
      "type": "string"
    },
    "maxcompute_schema": {
      "default": "default",
      "description": "The MaxCompute schema name (optional, default: 'default')",
      "type": "string"
    },
    "maxcompute_tables": {
      "description": "The MaxCompute table names (required)",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "maxcompute_project",
    "maxcompute_tables"
  ],
  "type": "object"
}