mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 09:50:40 +00:00
move interp from test to numpy (#88)
* move interp from test to numpy * move interp from test to numpy * move interp from test to numpy * move interp from test to numpy * move interp from test to numpy
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -621,6 +621,7 @@ dependencies = [
|
||||
name = "common-function"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"arrow2",
|
||||
"chrono-tz",
|
||||
"common-error",
|
||||
"common-query",
|
||||
@@ -2708,7 +2709,6 @@ dependencies = [
|
||||
"futures",
|
||||
"futures-util",
|
||||
"metrics",
|
||||
"num-traits",
|
||||
"snafu",
|
||||
"sql",
|
||||
"table",
|
||||
|
||||
@@ -4,6 +4,11 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[dependencies.arrow]
|
||||
package = "arrow2"
|
||||
version="0.10"
|
||||
features = ["io_csv", "io_json", "io_parquet", "io_parquet_compression", "io_ipc", "ahash", "compute", "serde_types"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
chrono-tz = "0.6"
|
||||
|
||||
@@ -3,6 +3,7 @@ use std::sync::Arc;
|
||||
use arrow::array::PrimitiveArray;
|
||||
use arrow::compute::cast::primitive_to_primitive;
|
||||
use arrow::datatypes::DataType::Float64;
|
||||
use datatypes::arrow;
|
||||
use datatypes::data_type::DataType;
|
||||
use datatypes::prelude::ScalarVector;
|
||||
use datatypes::type_id::LogicalTypeId;
|
||||
@@ -1,4 +1,6 @@
|
||||
mod clip;
|
||||
#[allow(unused)]
|
||||
mod interp;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ datatypes = {path = "../datatypes" }
|
||||
futures = "0.3"
|
||||
futures-util = "0.3"
|
||||
metrics = "0.18"
|
||||
num-traits = "0.2"
|
||||
snafu = { version = "0.7", features = ["backtraces"] }
|
||||
table = { path = "../table" }
|
||||
tokio = "1.0"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
mod interp;
|
||||
mod pow;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
Reference in New Issue
Block a user