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

PECO-1054 Expose Arrow batches to users #160

Merged

Conversation

rcypher-databricks
Copy link
Contributor

Step one of exposing arrow batches directly to users.
Moved the logic for iterating over the pages in a result set into ResultPageIterator.
Rows now composes in ResultPageIterator.
Introduced Delimeter type. Delimeter tracks a start/end point and provides functions for determining if a point is within the delimiter range and the direction of the point if it is outside the delimeter range.
Updated sparkArrowBatch, arrowRowScanner, columnRows, rows to use Delimiter.
Updated the Fetch logic for cloudURL and localBatch so that the concurrentFetcher doesn't need to hold or pass through a Config instance.

Step one of exposing arrow batches directly to users.
Moved the logic for iterating of the pages in a result set into ResultPageEditor.  Rows now composes in ResultPageIterator.
Introduced Delimeter type. Delimeter tracks a start/end point and provides functions for determining if a point is within the delimiter range and the direction of the point if it is outside the delimeter range.
Updated sparArrowBatch, arrowRowScanner, columnRows, rows to use Delimiter.
Updated the Fetch logic for cloudURL and localBatch so that the concurrentFetcher doesn't need to hold or pass through a Config instance.

Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
@rcypher-databricks rcypher-databricks merged commit f7c0286 into databricks:main Sep 19, 2023
3 checks passed
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