Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use separated thread in ffi exporter #788

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

richox
Copy link
Collaborator

@richox richox commented Jan 22, 2025

as described in #748, ArrowFFIExporter needs to poll rows iterator by wrapping hadoop ugi.doAs method. current solution wraps each .hasNext() and .next() and introduces extra costs.

this pr adds a separated thread for polling rows iterator. so we don't call doAs on each record batch.

@richox richox force-pushed the dev-ffi-export-thread branch 8 times, most recently from 6f6df99 to 16e8235 Compare January 23, 2025 16:09
@richox richox force-pushed the dev-ffi-export-thread branch from 16e8235 to 3d891d0 Compare January 23, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant