Skip to content

Commit fa4d032

Browse files
committed
address comments
1 parent ddd74bb commit fa4d032

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

bindings/python/fluss/__init__.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,8 @@ class TableDescriptor:
610610
comment: Optional[str] = None,
611611
log_format: Optional[str] = None,
612612
kv_format: Optional[str] = None,
613-
**properties: str,
613+
properties: Optional[Dict[str, str]] = None,
614+
custom_properties: Optional[Dict[str, str]] = None,
614615
) -> None: ...
615616
def get_schema(self) -> Schema: ...
616617

docs/python-api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Supports `with` statement (context manager).
158158

159159
| Method | Description |
160160
|---|---|
161-
| `TableDescriptor(schema, *, partition_keys=None, bucket_count=None, bucket_keys=None, comment=None, **properties)` | Create table descriptor |
161+
| `TableDescriptor(schema, *, partition_keys=None, bucket_count=None, bucket_keys=None, comment=None, log_format=None, kv_format=None, properties=None, custom_properties=None)` | Create table descriptor |
162162
| `.get_schema() -> Schema` | Get the schema |
163163

164164
## `TablePath`

docs/python-client.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ await admin.drop_table(table_path, ignore_if_not_exists=True)
154154
| `bucket_count` | Number of buckets (parallelism units) for the table |
155155
| `bucket_keys` | Columns used to determine bucket assignment |
156156
| `comment` | Table comment / description |
157+
| `log_format` | Log storage format: `"ARROW"` or `"INDEXED"` |
158+
| `kv_format` | KV storage format for primary key tables: `"INDEXED"` or `"COMPACTED"` |
159+
| `properties` | Table configuration properties as a dict (e.g. `{"table.replication.factor": "1"}`) |
160+
| `custom_properties` | User-defined properties as a dict |
157161

158162
### Offsets
159163

0 commit comments

Comments
 (0)