mirror of
https://github.com/apache/doris.git
synced 2026-11-04 18:29:59 +00:00
Doris Stream Load in Rust
How to use:
-
Create a table in Doris:
CREATE TABLE `db0`.`t_user` ( `id` int, `name` string ) DUPLICATE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 1 PROPERTIES ( "replication_num" = "1" ); -
Build the project:
cargo build -
Run the application:
cargo run
What can this demo do:
This is a rust demo for doris stream load, you can use this code load your data into doris by stream load.