If I understand correctly, If we remove the BINDABLE_SORT_RULE, the result will throw an exception about the Plan transformation. So it looks like a wrong rule's result. If you don't customize the rule, It is a bug, and please test this using Calcite's new version.
- Sort getting removed during optimization Julian Feinauer
- Re: Sort getting removed during optimization xiong duan
- Re: Sort getting removed during optimization Julian Hyde
- Re: Sort getting removed during optimizat... Julian Feinauer
- Re: Sort getting removed during optim... Stamatis Zampetakis
- Re: Sort getting removed during ... Julian Feinauer
- Re: Sort getting removed dur... Vladimir Ozerov
- Re: Sort getting removed dur... Julian Feinauer
- Re: Sort getting removed... Vladimir Ozerov
