You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
While working on a parquet file parser, I was running our tests on a 32-bit system and came across a panic. This is reproducable with the in-tree parquet-reader, using the the parquet file at the end of this report. First, it works on my 64-bit system as expected:
$ git clone git@github.com:apache/arrow
$ cd arrow/go/parquet/cmd/parquet_reader
$ cp ~/input.parquet .
$ go run . input.parquet
File name: input.parquet
Version: v2.6Created By: parquet-cpp-arrow version 15.0.1Num Rows: 1Number of RowGroups: 1Number of Real Columns: 2Number of Columns: 2Number of Selected Columns: 2Column0: value (INT64)
Column1: timestamp (BYTE_ARRAY/UTF8)
--- Row Group: 0 ---
--- Total Bytes: 201 ---
--- Rows: 1 ---
Column0
Values: 1, Min: 42, Max: 42, Null Values: 0, Distinct Values: 0
Compression: SNAPPY, Encodings: PLAIN RLE RLE_DICTIONARY
Uncompressed Size: 92, Compressed Size: 96Column1
Values: 1, Min: [49554948545651544856495251505056545750], Max: [49554948545651544856495251505056545750], Null Values: 0, Distinct Values: 0
Compression: SNAPPY, Encodings: PLAIN RLE RLE_DICTIONARY
Uncompressed Size: 109, Compressed Size: 113
--- Values ---
value |timestamp |
42 |1710683608143228692|
### Rationale for this change
Running something which calls `MinMaxInt32` on a 32-bit architecture was crashing because it wasn't dropping to the noasm solution and was calling assembly designed for a 64-bit architecture.
### What changes are included in this PR?
Adding the same build constraints to `min_max_noasm.go` as we have on others so that it gets built for 32-bit architectures to fallback to the pure go solution.
* GitHub Issue: #40672
Authored-by: Matt Topol <zotthewizard@gmail.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
While working on a parquet file parser, I was running our tests on a 32-bit system and came across a panic. This is reproducable with the in-tree
parquet-reader
, using the the parquet file at the end of this report. First, it works on my 64-bit system as expected:Once I force 32-bit arch you can see the crash:
The parquet file I used was generated via the following:
Component(s)
Go
The text was updated successfully, but these errors were encountered: