Skip to content

Commit 56e885f

Browse files
committed
address comments
1 parent 8f52e79 commit 56e885f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
[workspace.package]
1919
authors = ["Apache Fluss <dev@fluss.apache.org>"]
2020
categories = ["api-bindings", "database"]
21-
description = "The rust implementation of fluss"
2221
edition = "2024"
2322
homepage = "https://clients.fluss.apache.org/"
2423
license = "Apache-2.0"

crates/fluss/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ async fn main() -> Result<()> {
5757

5858
// ---- Log table: append and scan ----
5959
let log_path = TablePath::new("fluss", "events");
60-
let mut log_schema_builder = Schema::builder()
60+
let log_schema = Schema::builder()
6161
.column("ts", DataTypes::bigint())
62-
.column("message", DataTypes::string());
62+
.column("message", DataTypes::string())
63+
.build()?;
6364
let log_descriptor = TableDescriptor::builder()
64-
.schema(log_schema_builder.build()?)
65+
.schema(log_schema)
6566
.build()?;
6667
admin.create_table(&log_path, &log_descriptor, false).await?;
6768

0 commit comments

Comments
 (0)