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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user