westonpace commented on issue #20383:
URL: https://github.com/apache/arrow/issues/20383#issuecomment-1414428836
Yes, reading those docs it appears that `closest` is a good fit. `(company
== id, closest(year >= since))` should equate to:
```
AsofJoinOptions(/*input_keys=*/{
{/*on_key=*/"year", /*by_key=*/{"company"}},
{/*on_key=*/"year", /*by_key=*/{"id"}}
}, "tolerance="since)
```
Although it might be `tolerance=-since`. I always get confused on that :)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]