Skip to content

Commit

Permalink
fix bug in scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Jul 23, 2024
1 parent 3e97551 commit 53a0552
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scheduler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,10 @@ impl Scheduler {

let mut output_mapping: HashMap<String, String> = HashMap::new();
for name in extractor.outputs.keys() {
let table_name = extraction_policy.output_table_mapping.get(name).unwrap();
output_mapping.insert(name.clone(), table_name.clone());
let table_name = extraction_policy.output_table_mapping.get(name);
if let Some(table_name) = table_name {
output_mapping.insert(name.clone(), table_name.clone());
}
}

let mut hasher = DefaultHasher::new();
Expand Down

0 comments on commit 53a0552

Please sign in to comment.