Hi,
I have a ProjectableFilterableTable, it seems to me that the BindablaScan
RelNode does not keep track of column name aliases in the original
projection
Example:
Query:SELECT k1 theKey FROM tblspace1.tsql where k1 ='mykey2'
-- Logical Plan
LogicalProject(THEKEY=[$0])
LogicalFilter(condition=[=($0, 'mykey2')])
EnumerableTableScan(table=[[tblspace1, tsql]])
-- Best Plan
EnumerableInterpreter
BindableTableScan(table=[[tblspace1, tsql]], filters=[[=($0, 'mykey2')]],
projects=[[0]])
Is this correct ?
IMHO It would better to keep somethin like an EnumerableProjection which
renames the fields
Am I missing something ?
Thanks
Enrico