Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jan 18, 2024
1 parent b072146 commit 99e2ce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/polars-arrow/tests/it/io/ipc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fn write_sliced_utf8() -> PolarsResult<()> {

#[test]
fn write_binview() -> PolarsResult<()> {
let array = Utf8ViewArray::from([Some("foo"), Some("bar"), None, Some("hamlet")]).boxed();
let array = Utf8ViewArray::from_slice([Some("foo"), Some("bar"), None, Some("hamlet")]).boxed();
let schema = prep_schema(array.as_ref());
let columns = Chunk::try_new(vec![array])?;
round_trip(columns, schema, None, Some(Compression::ZSTD))
Expand Down
4 changes: 2 additions & 2 deletions crates/polars-row/src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ pub fn allocate_rows_buf(

#[cfg(test)]
mod test {
use arrow::array::{Int32Array, Utf8Array};
use arrow::array::{Int32Array};

use super::*;
use crate::decode::decode_rows_from_binary;
use crate::variable::{
decode_binary, decode_binview, BLOCK_SIZE, EMPTY_SENTINEL, NON_EMPTY_SENTINEL,
decode_binview, BLOCK_SIZE, EMPTY_SENTINEL, NON_EMPTY_SENTINEL,
};

#[test]
Expand Down

0 comments on commit 99e2ce1

Please sign in to comment.