Instead of using the methods in FilterApi directly in scala code,
use this Dsl instead. Example usage:
import parquet.filter2.dsl.Dsl._
val abc = IntColumn("a.b.c")
val xyz = DoubleColumn("x.y.z")
val myPredicate = !(abc > 10 && (xyz === 17 || ((xyz !== 13) && (xyz <= 20))))
Note that while the operators >, >=, <, <= all work, the == and != operators do not.
Using == or != will result in a runtime exception. Instead use === and !==
This is due to a limitation in overriding the the equals method.
Instead of using the methods in FilterApi directly in scala code, use this Dsl instead. Example usage:
Note that while the operators >, >=, <, <= all work, the == and != operators do not. Using == or != will result in a runtime exception. Instead use === and !==
This is due to a limitation in overriding the the equals method.