Skip to content

Commit 73fcd28

Browse files
committed
add comment
1 parent abcc779 commit 73fcd28

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

src/query/codegen/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ path = "src/bin/codegen.rs"
1818
common-datavalues = { path = "../datavalues" }
1919
common-expression = { path = "../expression" }
2020

21+
# TODO(andylokandy): Use the version from crates.io once
22+
# https://github.com/reem/rust-ordered-float/pull/110 is released.
2123
ordered-float = { git = "https://github.com/andylokandy/rust-ordered-float.git", branch = "as", features = ["serde"] }
2224
serde = { version = "1.0.137", features = ["derive"] }
2325
serde_json = "1.0.81"

src/query/expression/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ enum-as-inner = "0.4"
2525
itertools = "0.10"
2626
match-template = "0.0.1"
2727
num-traits = "0.2.15"
28+
# TODO(andylokandy): Use the version from crates.io once
29+
# https://github.com/reem/rust-ordered-float/pull/110 is released.
2830
ordered-float = { git = "https://github.com/andylokandy/rust-ordered-float.git", branch = "as", features = ["serde"] }
2931
serde = "1.0"
3032

src/query/expression/src/column_from.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl<'a, D: AsRef<[&'a str]>> ColumnFrom<D, [Vec<u8>; 2]> for Column {
124124
}
125125
}
126126

127-
impl<'a, D: AsRef<[f32]>> ColumnFrom<D, [Vec<f32>; 0]> for Column {
127+
impl<D: AsRef<[f32]>> ColumnFrom<D, [Vec<f32>; 0]> for Column {
128128
fn from_data(d: D) -> Column {
129129
NumberType::<OrderedFloat<f32>>::upcast_column(
130130
NumberType::<OrderedFloat<f32>>::column_from_iter(
@@ -135,7 +135,7 @@ impl<'a, D: AsRef<[f32]>> ColumnFrom<D, [Vec<f32>; 0]> for Column {
135135
}
136136
}
137137

138-
impl<'a, D: AsRef<[f64]>> ColumnFrom<D, [Vec<f64>; 0]> for Column {
138+
impl<D: AsRef<[f64]>> ColumnFrom<D, [Vec<f64>; 0]> for Column {
139139
fn from_data(d: D) -> Column {
140140
NumberType::<OrderedFloat<f64>>::upcast_column(
141141
NumberType::<OrderedFloat<f64>>::column_from_iter(

src/query/functions-v2/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ hex = "0.4.3"
2323
itertools = "0.10.3"
2424
match-template = "0.0.1"
2525
num-traits = "0.2.15"
26+
# TODO(andylokandy): Use the version from crates.io once
27+
# https://github.com/reem/rust-ordered-float/pull/110 is released.
2628
ordered-float = { git = "https://github.com/andylokandy/rust-ordered-float.git", branch = "as", features = [
2729
"serde",
2830
"rand",

0 commit comments

Comments
 (0)