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

[C#] Record Batches in reverse order? #23029

Closed
asfimport opened this issue Sep 25, 2019 · 2 comments
Closed

[C#] Record Batches in reverse order? #23029

asfimport opened this issue Sep 25, 2019 · 2 comments

Comments

@asfimport
Copy link

Are 'RecordBatches' being in C# being written in reverse order?

I made a simple test which creates a single row per record batch of 0 to 99 and attempted to read this in R. To my surprise batch(0) in R had the value 99 not 0

This may not seem like a big deal, however when dealing with 'huge' files, its more efficient to use Record Batches / index lookup than attempting to load the entire file into memory.

Having the order consistent within the different language / API seems only to make sense - for now I can work around this by reversing the order before writing.

 

#5475

 

Reporter: Anthony Abate / @abbotware

Externally tracked issue: #5475

PRs and other links:

Note: This issue was originally created as ARROW-6681. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Anthony Abate / @abbotware:
sample code in github issue

@CurtHagenlocher
Copy link
Contributor

As of December 2023, this appears to be working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants