My first reaction was ‘search for DNF in the tests’ but then I see that
RexProgramTest has several testCnf methods [1] but no testDnf methods. There
is a RexUtil.toDnf method [2] but unlike RexUtil.toCnf it is not tested.
With luck you can call RexUtil.toDnf in the same way that you would call
Hello,
I'm working on a Python SQL engine and using Calcite for query parsing. I
am working on the predicate pushdown portion and I need to convert/expand a
Rexnode from the "WHERE" portion of the query into a DNF formatted string
that I can pass along to the underlying library I am using (CUDA &