You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/13 20:14:12 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #2725: Filter push down need consider alias columns

alamb commented on issue #2725:
URL: https://github.com/apache/arrow-datafusion/issues/2725#issuecomment-1154384486

   Hi @Ted-Jiang 
   
   If I read your conclusion corrctly, I think you are saying that the filter added by the filter pushdown rule is remapping the names somehow. Specifically, you are proposing:
   
   ```
               Projection: #ssb@test_udaf_cube_update@17179869183.21 AS LO_SHIPMODE, #ssb@test_udaf_cube_update@17179869183.42 AS _KY_COUNT_DISTINCT_LINEORDER_LO_SUPPKEY_
                 Filter: #LO_SHIPMODE IN ([Utf8("1"), Utf8("2"), Utf8("3"), Utf8("4"), Utf8("5")])  <-- **** This filter should be `#ssb@test_udaf_cube_update@17179869183.21 IN ....`
                   TableScan: ssb@test_udaf_cube_update@17179869183 projection=Some([12, 37]), partial_filters=[#LO_SHIPMODE IN ([Utf8("1"), Utf8("2"), Utf8("3"), Utf8("4"), Utf8("5")])]
   
   ```


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org