From c2f5e00e47354b4efdc7998b0acae4a5fb75bfc5 Mon Sep 17 00:00:00 2001 From: schwarzam Date: Sat, 14 Sep 2024 23:57:43 -0300 Subject: [PATCH] fixed regex to get param with filters --- 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 d2f6b63..2978158 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"([1-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();