ci: reduce workflow files by merging actions (#3848)

* ci: merge license header checker into dev ci

Signed-off-by: tison <wander4096@gmail.com>

* ci: merge nightly-funtional-tests.yml into nightly-ci.yml

Signed-off-by: tison <wander4096@gmail.com>

* fix typos

Signed-off-by: tison <wander4096@gmail.com>

---------

Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
tison
2024-05-01 12:44:00 +08:00
committed by GitHub
parent 573d369f77
commit 695746193b
10 changed files with 48 additions and 61 deletions

View File

@@ -152,7 +152,7 @@ pub fn interp(args: &[VectorRef]) -> Result<VectorRef> {
let res;
if xp.len() == 1 {
let datas = x
let data = x
.iter_data()
.map(|x| {
if Value::from(x) < xp.get(0) {
@@ -164,7 +164,7 @@ pub fn interp(args: &[VectorRef]) -> Result<VectorRef> {
}
})
.collect::<Vec<_>>();
res = Float64Vector::from(datas);
res = Float64Vector::from(data);
} else {
let mut j = 0;
/* only pre-calculate slopes if there are relatively few of them. */
@@ -191,7 +191,7 @@ pub fn interp(args: &[VectorRef]) -> Result<VectorRef> {
}
slopes = Some(slopes_tmp);
}
let datas = x
let data = x
.iter_data()
.map(|x| match x {
Some(xi) => {
@@ -255,7 +255,7 @@ pub fn interp(args: &[VectorRef]) -> Result<VectorRef> {
_ => None,
})
.collect::<Vec<_>>();
res = Float64Vector::from(datas);
res = Float64Vector::from(data);
}
Ok(Arc::new(res) as _)
}