Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.38.0
-
None
Description
Recently, I tried to complete https://issues.apache.org/jira/browse/CALCITE-6293
I found a problem. When building the Filter operator structure, we did not effectively fill the List<TreeNode> conditionNodes according to operators such as and and or, so our current Filter operator structure can only support the and operator
Currently, I have a way to support simple or operators, but I cannot support complex nested and+or and other operator joint queries, such as
String sql = "select \"intField\", \"stringField\"\n" + "from arrowdata\n" + "where (\"intField\" > 1 and \"stringField\" = '2') or \"intField\" = 0";
I plan to add operator information to List<TreeNode> conditionNodes so that we can finally assemble a suitable Filter structure