create_table
Create an empty Iceberg table by inferring schema from parquet, CSV, or JSONL files in an S3 URI. Supports partitioning and optional replacement.
Instructions
Create an empty table from an S3 URI identifying parquet, csv or JSONL files in S3. The table schema is automatically inferred from the files at the given search uri.
Args: table: Name of the table to create. search_uri: S3 URI to search for parquet files. branch: branch name. namespace: Optional namespace (defaults to "bauplan"). partitioned_by: Optional partitioning column. replace: Optional flag to replace existing table.
Returns: TableCreated: Object indicating success/failure with table details.
NOTE: This tool creates a ICEBERG table with the schema of the file(s) in the URI but it does not populate the table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| search_uri | Yes | ||
| branch | Yes | ||
| namespace | No | ||
| partitioned_by | No | ||
| replace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| namespace | Yes | ||
| success | Yes | ||
| message | Yes |