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

fix(csharp/src/Drivers/Apache/Spark): correct batch handling for the HiveServer2Reader #2215

Conversation

birschick-bq
Copy link
Contributor

  1. Fixes batch handling of the HiveServer2Reader so that it retrieves all subsequent batches after the first batch.
  2. Adds async look-ahead fetch for improved performance.
  3. Adds test to ensure all records are retrieved regardless of batch size.

Copy link
Contributor

@CurtHagenlocher CurtHagenlocher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes! A few questions / suggestions and one minor quibble.

@birschick-bq
Copy link
Contributor Author

@CurtHagenlocher - I don't have permission to merge PRs into the main branch. If everything is OK with this PR, can you merge the change into main? Thanks.

@CurtHagenlocher
Copy link
Contributor

@CurtHagenlocher - I don't have permission to merge PRs into the main branch. If everything is OK with this PR, can you merge the change into main? Thanks.

Sorry, I think I was waiting for the tests to finish running maybe?

@CurtHagenlocher CurtHagenlocher merged commit 85fbe44 into apache:main Oct 7, 2024
6 checks passed
@birschick-bq birschick-bq deleted the dev/birschick-bq/fix-batch-processing branch October 15, 2024 18:29
@birschick-bq
Copy link
Contributor Author

Note: used this example code
https://impala.apache.org/doc/html/simba_8cc_source.html

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.

2 participants