Skip to content

Commit

Permalink
fixed from arcs, passing ownership of tempdir caused the folder to be…
Browse files Browse the repository at this point in the history
… dropped before we could read it in the compression step
  • Loading branch information
zommiommy committed Dec 13, 2024
1 parent 4540660 commit c0b6330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/from/arcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn main(submatches: &ArgMatches) -> Result<()> {
pub fn from_csv(args: CliArgs) -> Result<()> {
let dir = Builder::new().prefix("from_arcs_sort_").tempdir()?;

let mut group_by = SortPairs::new(args.batch_size.batch_size, dir)?;
let mut group_by = SortPairs::new(args.batch_size.batch_size, &dir)?;
let mut nodes = HashMap::new();

// read the csv and put it inside the sort pairs
Expand Down

0 comments on commit c0b6330

Please sign in to comment.