-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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# -> R} - Record Batches in reverse order? #5475
Comments
sample code:
|
R Code: rbfr <- arrow::RecordBatchFileReader("C:\temp\batch.order.tests.arrow") |
@abbotware can you use JIRA for bug reports? |
@wesm sure - I think I have an old ASF JIRA... but I haven't used it in years ;-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: