You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/10/12 08:29:16 UTC

[GitHub] [calcite] jinxing64 opened a new pull request #1500: [CALCITE-3403] Prune columns for ProjectableFilterableTable when Proj…

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:
users@infra.apache.org


With regards,
Apache Git Services