Skip to content

Commit d4232d7

Browse files
committed
add vortex to ci
1 parent 36e0731 commit d4232d7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: cargo fmt --all -- --check
5454

5555
- name: Clippy
56-
run: cargo clippy --all-targets --workspace --features fulltext -- -D warnings
56+
run: cargo clippy --all-targets --workspace --features fulltext,vortex -- -D warnings
5757

5858
build:
5959
runs-on: ${{ matrix.os }}
@@ -66,7 +66,7 @@ jobs:
6666
steps:
6767
- uses: actions/checkout@v6
6868
- name: Build
69-
run: cargo build --features fulltext
69+
run: cargo build --features fulltext,vortex
7070

7171
unit:
7272
runs-on: ${{ matrix.os }}
@@ -80,7 +80,7 @@ jobs:
8080
- uses: actions/checkout@v6
8181

8282
- name: Test
83-
run: cargo test -p paimon --all-targets --features fulltext
83+
run: cargo test -p paimon --all-targets --features fulltext,vortex
8484
env:
8585
RUST_LOG: DEBUG
8686
RUST_BACKTRACE: full

crates/paimon/src/arrow/format/vortex.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ fn datum_to_vortex_lit(datum: &Datum, file_field: &DataField) -> Option<Expressi
348348
use vortex::array::scalar::{PValue, Scalar, ScalarValue};
349349
match datum {
350350
Datum::Bool(v) => Some(lit(*v)),
351-
Datum::TinyInt(v) => Some(lit(i8::from(*v))),
352-
Datum::SmallInt(v) => Some(lit(i16::from(*v))),
351+
Datum::TinyInt(v) => Some(lit(*v)),
352+
Datum::SmallInt(v) => Some(lit(*v)),
353353
Datum::Int(v) => Some(lit(*v)),
354354
Datum::Long(v) => Some(lit(*v)),
355355
Datum::Float(v) => Some(lit(*v)),

0 commit comments

Comments
 (0)