Skip to content

Commit

Permalink
fixed error on filters regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwarzam committed Sep 17, 2024
1 parent c2f5e00 commit c4f70a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/parquet/parse_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn parse_filters(params: &HashMap<String, String>) -> Option<Vec<(&str, &str
return None
}

let re = Regex::new(r"([1-9a-zA-Z_]+)([!<>=]+)([-+]?[0-9]*\.?[0-9]*)").unwrap();
let re = Regex::new(r"([0-9a-zA-Z_]+)([!<>=]+)([-+]?[0-9]*\.?[0-9]*)").unwrap();
let mut filter_vec = Vec::new();
for filter in filters {
let f_vec = re.captures(filter).unwrap();
Expand Down

0 comments on commit c4f70a6

Please sign in to comment.