Skip to content

Commit c2f5e00

Browse files
committed
fixed regex to get param with filters
1 parent 44b7a56 commit c2f5e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loaders/parquet/parse_params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn parse_filters(params: &HashMap<String, String>) -> Option<Vec<(&str, &str
3535
return None
3636
}
3737

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

0 commit comments

Comments
 (0)