apply_table_creation_plan
Resolve schema conflicts and create a new table by applying a provided table creation plan. Returns a job ID for tracking the asynchronous operation.
Instructions
Apply a provided table creation plan to resolve schema conflicts and create a new table in the system. Returns a job_id for tracking the asynchronous operation.
This function is used when schema conflicts exist after plan creation and need manual resolution. Most common schema conflict is two parquet files with the same column name but different datatype. Note: This is done automatically during table plan creation if no schema conflicts exist.
Args: plan: The plan dictionary or TableCreatePlanState to apply. debug: Whether to enable or disable debug mode (optional). args: Additional arguments for plan application (optional). priority: Job priority, 1-10 where 10 is highest priority (optional). verbose: Whether to enable or disable verbose mode (optional). client_timeout: Timeout in seconds (defaults to 120).
Returns: TablePlanApplied: Object indicating success/failure with job tracking details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| debug | No | ||
| args | No | ||
| priority | No | ||
| verbose | No | ||
| client_timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| success | Yes | ||
| message | Yes |