Skip to content

Commit 1b33b0f

Browse files
committed
fix(bulk-write): ensure table exists before bulk write
- Add logic to ensure the target table exists before starting bulk write - Update README with important notes about bulk write API usage - Refactor write loops in benchmark classes for better readability
1 parent 1da2de0 commit 1b33b0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ingester-example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The Bulk Write API provides a high-performance, memory-efficient mechanism for i
8383

8484
> **Important**:
8585
> 1. **Manual Table Creation Required**: Bulk API does **not** create tables automatically. You must create the table beforehand using either:
86-
> - Insert API (which supports auto table creation), or
86+
> - Insert API (which supports auto table creation), or
8787
> - SQL DDL statements (CREATE TABLE)
8888
> 2. **Schema Matching**: The table template in bulk API must exactly match the existing table schema.
8989
> 3. **Column Types**: For bulk operations, currently use `addField()` instead of `addTag()`. Tag columns are part of the primary key in GreptimeDB, but bulk operations don't yet support tables with tag columns. This limitation will be addressed in future versions.

0 commit comments

Comments
 (0)