scale_presto_engine
Scale a Presto engine by specifying coordinator and worker node counts in watsonx.data. Optionally change node types during scaling.
Instructions
Scale a Presto engine by adjusting coordinator and worker node counts in watsonx.data.
RECOMMENDED NODE TYPES: "starter" or "cache_optimized" (other types may be available)
SCALING CAPABILITIES:
Coordinator quantity: Always 1 (cannot be changed)
Worker quantity: 1-18 (recommended), up to 50 may be supported
Node types CAN be changed during scaling (e.g., from "starter" to "cache_optimized")
Coordinator and worker do NOT need to match node types
API REQUIREMENT: Must provide BOTH coordinator AND worker configurations together.
Args: engine_id: Engine identifier coordinator_node_type: Typically "starter" or "cache_optimized". Can be different from current type. coordinator_quantity: Number of coordinator nodes (must be 1 for Presto) worker_node_type: Typically "starter" or "cache_optimized". Can be different from coordinator_node_type. worker_quantity: Number of worker nodes (1-18 recommended, up to 50 may be supported)
Returns: Dict with scaling operation status and new node configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine_id | Yes | ||
| coordinator_node_type | Yes | ||
| coordinator_quantity | Yes | ||
| worker_node_type | Yes | ||
| worker_quantity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||