You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "srh (via GitHub)" <gi...@apache.org> on 2025/08/13 22:59:09 UTC

[I] MemorySourceConfig::try_swapping_with_projection discards sort information [datafusion]

srh opened a new issue, #17184:
URL: https://github.com/apache/datafusion/issues/17184

   ### Describe the bug
   
   When pushing a projection down into a MemorySourceConfig, sorting information is discarded by try_swapping_with_projection.  I forget what behavior this produces: it's either less efficient planning or perhaps some kind of sanity check failure during optimization.  (But it is materially harmful.)
   
   Prior to the refactor, MemoryExec had an equivalent form of this bug.
   
   A PR is incoming.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] MemorySourceConfig::try_swapping_with_projection discards sort information [datafusion]

Posted by "srh (via GitHub)" <gi...@apache.org>.
srh commented on issue #17184:
URL: https://github.com/apache/datafusion/issues/17184#issuecomment-3187390883

   Seems to have gotten fixed a couple of days ago by #17129.


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] MemorySourceConfig::try_swapping_with_projection discards sort information [datafusion]

Posted by "srh (via GitHub)" <gi...@apache.org>.
srh closed issue #17184: MemorySourceConfig::try_swapping_with_projection discards sort information
URL: https://github.com/apache/datafusion/issues/17184


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org