The main part of this repository is a Java SQL rewriting tool. There is also Python code for a result analysis and PostgreSQL NMIN C-function. The tool works in two modes: Microbenchmark - performs a ...
I'm trying to do a SQL transform using Calcite SQL syntax. I'm doing an int to boolean cast. My sql looks like this: ,CASE WHEN cast (IsService as BOOLEAN) THEN CASE WHEN IsEligible THEN 1 ELSE 0 END ...