Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Dec 18, 2024
1 parent 709b296 commit 1c9ba66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ workspace = true

[dependencies]
actix-web = "4"
arrow = { workspace = true }
futures = { workspace = true }
metric_engine = { workspace = true }
object_store = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
object_store = { workspace = true }
arrow = { workspace = true }
7 changes: 6 additions & 1 deletion src/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use actix_web::{
web::{self, Data},
App, HttpResponse, HttpServer, Responder,
};
use arrow::datatypes::{DataType, Field, Schema};
use metric_engine::{
storage::{CloudObjectStorage, CompactRequest, TimeMergeStorageRef},
types::StorageOptions,
Expand Down Expand Up @@ -53,7 +54,11 @@ async fn main() -> std::io::Result<()> {
tracing_subscriber::fmt::init();

let port = 5000;
let schema = todo!();
let schema = Arc::new(Schema::new(vec![
Field::new("pk1", DataType::Int64, true),
Field::new("pk2", DataType::Int64, true),
Field::new("value", DataType::Int64, true),
]));
let store = Arc::new(LocalFileSystem::new());
let storage = Arc::new(
CloudObjectStorage::try_new(
Expand Down

0 comments on commit 1c9ba66

Please sign in to comment.