You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "gitmodimo (via GitHub)" <gi...@apache.org> on 2025/05/13 08:52:25 UTC

[I] [C++][Acero] Asofjoin does not propagate pause upstream [arrow]

gitmodimo opened a new issue, #46421:
URL: https://github.com/apache/arrow/issues/46421

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Current implementation of `asofjoin` node ignores pause requests from downstream. This can lead to big memory consumption when downstream nodes process data slower than the join node.
   
   I created [PR46140](https://github.com/apache/arrow/pull/46140) that throttles join processing and input queues propagate pauses upstream.
   
   ### Component(s)
   
   C++


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [C++][Acero] Asofjoin does not propagate pause upstream [arrow]

Posted by "gitmodimo (via GitHub)" <gi...@apache.org>.
gitmodimo commented on issue #46421:
URL: https://github.com/apache/arrow/issues/46421#issuecomment-3035177293

   Turns out that there was concurrent access to future. After fix all tests are successful.


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


Re: [I] [C++][Acero] Asofjoin does not propagate pause upstream [arrow]

Posted by "gitmodimo (via GitHub)" <gi...@apache.org>.
gitmodimo commented on issue #46421:
URL: https://github.com/apache/arrow/issues/46421#issuecomment-2943525721

   The fix is pretty straightforward. It is still WIP mostly due to the that tests are flaky. I have trouble making it work on mac.
   There is another issue that is amplified by this path - asof_join split batches _only_ when input gets starved. This also leads to memory runaway. I am experimenting with keeping `left` array batches boundaries and it seems work nice(will post PR soon).
   @westonpace can you take a look?


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


Re: [I] [C++][Acero] Asofjoin does not propagate pause upstream [arrow]

Posted by "TheAbry (via GitHub)" <gi...@apache.org>.
TheAbry commented on issue #46421:
URL: https://github.com/apache/arrow/issues/46421#issuecomment-2943445988

   any updates on this? have noticed large amounts of memory consumption when using asof join with use_threads = True.


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