It is not required to fill all property in the druid bound filter. However, if we want to use the Filter base class, we have this problem. We do not have this problem when using the Band filter class.
After reading the code, I realized that I should use the Band class directly and not the Filter base class, but if we want to use the filter class directly, we will have the problem that all the property is required(Like me).
@MSadeghzadehG @john-bodley
What is your opinion about the solution to this? Limit the usage of Filter class and force using the child classes? Or fix the Filter class and write a test for it?
It is not required to fill all property in the druid bound filter. However, if we want to use the Filter base class, we have this problem. We do not have this problem when using the Band filter class.
https://druid.apache.org/docs/latest/querying/filters.html#bound-filter
After reading the code, I realized that I should use the Band class directly and not the Filter base class, but if we want to use the filter class directly, we will have the problem that all the property is required(Like me).
@MSadeghzadehG @john-bodley What is your opinion about the solution to this? Limit the usage of Filter class and force using the child classes? Or fix the Filter class and write a test for it?