[CALCITE-7818] Druid interval extraction drops rows for mixed OR predicates Interval extraction skipped OR operands that it could not represent as timestamp ranges. The resulting partial interval could exclude matching rows when the filter rule removed the original predicate. Abort extraction when any disjunct cannot be represented, so the existing filter path retains the full predicate. Document the extraction return values and include equivalent SQL beside the constructed test condition. Cover both operand orders, an empty-range disjunct, and the planner path that must retain the original intervals and filter.
Apache Calcite is a dynamic data management framework.
It contains many of the pieces that comprise a typical database management system but omits the storage primitives. It provides an industry standard SQL parser and validator, a customisable optimizer with pluggable rules and cost functions, logical and physical algebraic operators, various transformation algorithms from SQL to algebra (and the opposite), and many adapters for executing SQL queries over Cassandra, Druid, Elasticsearch, MongoDB, Kafka, and others, with minimal configuration.
For more details, see the home page.
The project uses JIRA for issue tracking. For further information, please see the JIRA accounts guide.