refactor: add selection to bulk (#232)

* feat: add selection field to BulkInsertRequest

* add schema section

* change bulk request

* replace vec<u8> with bytes

* wip

* wip

* chore: rebase main

* fix: clippy

* refactor arrow ipc writes
This commit is contained in:
Lei, HUANG
2025-05-06 17:10:53 +08:00
committed by GitHub
parent e82b0158cd
commit 754d20f5ef
5 changed files with 1805 additions and 1887 deletions
+9 -1
View File
@@ -22,11 +22,19 @@ fn main() {
tonic_build::configure()
.file_descriptor_set_path(out_dir.join("greptime_grpc_desc.bin"))
.type_attribute(".", "#[derive(::serde::Serialize, ::serde::Deserialize)]")
.type_attribute(
".greptime.v1.SemanticType",
"#[derive(::serde::Serialize, ::serde::Deserialize)]",
)
.type_attribute(
".greptime.v1.meta.Peer",
"#[derive(::serde::Serialize, ::serde::Deserialize)]",
)
.enum_attribute(
"region.RegionRequest.body",
"#[derive(strum_macros::AsRefStr)]",
)
.bytes([".greptime.v1.region.ArrowIpc"])
.compile_protos(
&[
"proto/greptime/v1/database.proto",