No, I didn’t get a chance. Thanks for diagnosing.
> On Nov 13, 2019, at 7:55 AM, Vladimir Sitnikov <sitnikov.vladi...@gmail.com>
> wrote:
>
> Xiening,
>
> The bug is "obvious" when you open a Graphviz diagram.
> Just wondering: have you tried?
>
> The issue is EnumerableTableFunctionScan consumes Subset#0.NONE.[0] as an
> input, which is never implementable.
>
> The fix is trivial: EnumerableTableFunctionScanRule must convert inputs to
> EnumerableConvention
> (e.g. see how EnumerableProjectRule converts input to enumerable)
>
> So getInputs() should be replaced with convertList(rel.getInputs(),
> EnumerableConvention.INSTANCE)
> Can you please try that?
>
> Vladimir