Files
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>tempo-gh-bot[bot] <[email protected]>
858fcef515 Bump github.com/parquet-go/parquet-go from 0.23.1-0.20241011155651-6446d1d0d2fe to 0.24.0 (#4303)
* Bump github.com/parquet-go/parquet-go

Bumps [github.com/parquet-go/parquet-go](https://github.com/parquet-go/parquet-go) from 0.23.1-0.20241011155651-6446d1d0d2fe to 0.24.0.
- [Release notes](https://github.com/parquet-go/parquet-go/releases)
- [Changelog](https://github.com/parquet-go/parquet-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/parquet-go/parquet-go/commits/v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/parquet-go/parquet-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update serverless gomod

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tempo-gh-bot[bot] <[email protected]>
2025-01-15 15:57:27 -06:00

20 lines
831 B
Go

//go:build s390x
package parquet
// On a big endian system, a boolean/byte value, which is in little endian byte
// format, is byte aligned to the 7th byte in a u64 (8 bytes) variable.
// Hence the data will be available at 7th byte when interpreted as a little
// endian byte format. So, in order to access a boolean/byte value out of u64
// variable, we need to add an offset of "7".
//
// In the same way, an int32/uint32/float value, which is in little endian byte
// format, is byte aligned to the 4th byte in a u64 (8 bytes) variable.
// Hence the data will be available at 4th byte when interpreted as a little
// endian byte format. So, in order to access an int32/uint32/float value out of
// u64 variable, we need to add an offset of "4".
const (
firstByteOffsetOfBooleanValue = 7
firstByteOffsetOf32BitsValue = 4
)