Hi, maybe you can help me. 
I have this portion from a larger logical plan:
..
        LogicalProject(l_orderkey=[$0], l_suppkey=[$2], *=[*($5, -(1, $6))])
                LogicalTableScan(table=[[main, lineitem]])
..

Because the LogicalProject above contains an evaluation, the 
ProjectTableScanRule can't convert it to a BindableTableScan.

I wonder if somehow the evaluation could be pushed up more or less like this:
..
        LogicalProject(l_orderkey=[$0], l_suppkey=[$1], *=[*($2, -(1, $3))])
                LogicalProject(l_orderkey=[$0], l_suppkey=[$2], 
l_extendedprice=[$5], l_discount=[$6]])
                         LogicalTableScan(table=[[main, lineitem]])
..

Regards.

Reply via email to