Skip to content

Commit

Permalink
use cow for static name
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Nov 13, 2023
1 parent 8d25002 commit f5a5a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daft-parquet/src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub mod pylib {
coerce_int96_timestamp_unit: Option<PyTimeUnit>,
) -> PyResult<Vec<PyTable>> {
py.allow_threads(|| {
let io_stats = IOStatsContext::new("read_parquet_bulk".to_string());
let io_stats = IOStatsContext::new("read_parquet_bulk");

let io_client = get_io_client(
multithreaded_io.unwrap_or(true),
Expand Down Expand Up @@ -243,7 +243,7 @@ pub mod pylib {
multithreaded_io: Option<bool>,
) -> PyResult<PyTable> {
py.allow_threads(|| {
let io_stats = IOStatsContext::new("read_parquet_statistics".to_string());
let io_stats = IOStatsContext::new("read_parquet_statistics");

let io_client = get_io_client(
multithreaded_io.unwrap_or(true),
Expand Down

0 comments on commit f5a5a54

Please sign in to comment.