[DISCUSS] Towards Cascades Optimizer

2020-04-18 Thread Haisheng Yuan
Hi, In the past few months, we have discussed a lot about Cascades style top-down optimization, including on-demand trait derivation/request, rule apply, branch and bound space pruning. Now we think it is time to move towards these targets. We will separate it into several small issues, and

[jira] [Created] (CALCITE-3937) Only fire rule for RelSubset when it is derived

2020-04-18 Thread Haisheng Yuan (Jira)
Haisheng Yuan created CALCITE-3937: -- Summary: Only fire rule for RelSubset when it is derived Key: CALCITE-3937 URL: https://issues.apache.org/jira/browse/CALCITE-3937 Project: Calcite

[discuss] Add the default mode to the path in the Json functions.

2020-04-18 Thread Forward Xu
hi everyone, I recently found some discussable optimizations when I contributed the flip-90 [1] Json functions: The current json functions in calcite: JSON_EXISTS, JSON_VALUE, JSON_QUERY, JSON_OBJECT, JSON_OBJECTAGG, JSON_ARRAY, JSON_ARRAYAGG and IS JSON predication functions. These functions are