libmir/je

filtering

yannick opened this issue · 1 comments

simple conditional, number comparison and string comparison (ideally regex too) should be supported in order to filter records.

the question is a bit if it would make sense to define a more detailed json configuration that is layers of filtering and processing OR if we just support 1 layer and then you concatenate multiple je instances via unix pipes (but at additional costs).

another question is if we could just plug in a dynamic language such as mruby to write the logic and at what costs. it could be cheap if it has bindings to just access the data fields it needs to compare.
alternatively we need to implement a whole interpreter which might be a lot of effort. ideas welcome

9il commented

@yannick We can add a dynamic library compile-load-execute instead of introducing limited precompiled functionality. What do you think?