-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support big-endian platforms (hard) #21
Comments
Will support them at some point, but not now: #21
OK, now we error at compile time on big endian platforms. |
@gaborcsardi Could we instead fix it? |
Admittedly, it is pretty bad at the moment, though
I could try asking Apache-Arrow upstream for some assistance, if the breakage is there. |
It is unlikely that we'll fix this soon, because there is still a lot of refactoring going on. |
@gaborcsardi Thank you! (There is no urgency here, of course.) |
If you or others have a real use case for big endian platforms, that would also motivate me to fix this. |
@gaborcsardi AIX is BE-only, *BSD and Linux on most IBM Power CPUs are BE (not an expert here, but I think only Power9 defaults to LE, while still being bi-endian), s390 is BE. At least NetBSD maintains arm BE port. I cannot say how many people use R or interested in Parquet support, but here is a recent AIX-related ticket: apache/spark#29419 |
Sure, I know that big endian platforms exist, I am just not sure if they are relevant for R. I.e. how many people are using R and (say) arrow on big endian platforms? Unfortunately Parquet is little endian on disk, so to support big endian platforms, we'd need to review and potentially reimplement all of the Parquet encodings, both for reading and writing. So this is not a small fix, but it is a rather big undertaking. I am still planning to do it at some point, but it'll take some time. First I would need to set up some tests on GHA. |
I have a GHA workflow now to test on S390x. Right now failing, as expected:
|
Thank you, great. I didn’t know GHA have s390z. Is it generally available? |
They don't have s390x, you need to run it on x86_64 via qemu. |
@gaborcsardi BTW is there a similar Linux-based setup for R to test on 32-bit ppc? |
I don't know. qemu can probably emulate it, but IDK if there is a recent-ish Linux distro that supports it. |
At least we should fail nicely on big endian platforms.
The text was updated successfully, but these errors were encountered: