Jin Xing

Results 9 comments of Jin Xing

hmm.. I think this CALCITE-3100 is really a good catch for the shortage when using `SqlDynamicParam` in `CAST`. The core problem is that `SqlValidator` infers the "type" of `SqlDynamicParam` by...

@yuqi1129 THX again for this fix. It will be great if you can give a short description for the main idea of this PR as your first comment. Below comment...

I have a question related to CALCITE-3455 but not necessarily related to this PR: How about providing an approach for RelOptRule and allow to specify that rels matched should have...

Hi @DonnyZone Would you please resolve the conflicts ?

In current code of `SqlOperatorBinding#isOperandNull`, the doc for param of allowCast is like below ``` * @param allowCast whether to regard CAST(constant) as a constant ``` Shall we update it...

Thanks for your fix @DonnyZone and it's good for me overall ~ I left minor comments and you can check if they are valid.

If I remove the change of `ProjectToWindowRule`, I can pass the collation check https://github.com/apache/calcite/pull/1460/files#diff-2b9a6c719e7c1c69c76dccbbc1654ae8R6157 but fail the collation check for https://github.com/apache/calcite/pull/1460/files#diff-2b9a6c719e7c1c69c76dccbbc1654ae8R6155 That's to say the collation of `LogicalWindow` is incorrect....

Grouping function is a special agg function. +1 to find it in `AggFinder`. Rather than switching the config of `boolean grouping` in validator, do we consider to add another interface...