From c4f70a65efe4043f119bae75b07bd35f305f4d96 Mon Sep 17 00:00:00 2001 From: schwarzam Date: Tue, 17 Sep 2024 11:44:31 -0300 Subject: [PATCH] fixed error on filters regex --- src/loaders/parquet/parse_params.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaders/parquet/parse_params.rs b/src/loaders/parquet/parse_params.rs index 2978158..ef86161 100644 --- a/src/loaders/parquet/parse_params.rs +++ b/src/loaders/parquet/parse_params.rs @@ -35,7 +35,7 @@ pub fn parse_filters(params: &HashMap) -> Option=]+)([-+]?[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();