Skip to content

Conversation

@yuandagits
Copy link
Contributor

Summary: There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats..

Differential Revision: D71641158

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 21, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71641158

@netlify
Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit d6562ef
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67ddd1be5a16de0008d16263

yuandagits added a commit to yuandagits/velox that referenced this pull request Mar 21, 2025
…incubator#12756)

Summary:

There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats..

Differential Revision: D71641158
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71641158

…incubator#12756)

Summary:

There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats..

Differential Revision: D71641158
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71641158

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fb70a03.

@conbench-facebook
Copy link

Conbench analyzed the 1 benchmark run on commit fb70a037.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

jinchengchenghh pushed a commit to jinchengchenghh/velox that referenced this pull request Apr 4, 2025
…incubator#12756)

Summary:
Pull Request resolved: facebookincubator#12756

There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats.

DwioCoalescedLoadBase was updated to also cache the stats shared_pointer since it can go on the same code path.

Reviewed By: Yuhta

Differential Revision: D71641158

fbshipit-source-id: cd114c020c88eac3b8c9921b9df41c55f4bdaa28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants