jinxing64 opened a new pull request #1500: [CALCITE-3403] Prune columns for 
ProjectableFilterableTable when Proj…
URL: https://github.com/apache/calcite/pull/1500
 
 
   …ect is not simple mapping (Jin Xing)
   
   Say `beatles` is a `ProjectableFilterableTable`, below Sqls fail to do 
column pruning by `BindableTableScan`
   ```
   Schema of beatles:
   i int
   j int
   k int
   
   select k, 3 from beatles;
   select k + j from beatles;
   ```
   
   The reason is that `ProjectableFilterableTable` only works when the Project 
is a simple mapping.
   
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to