-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Description
Use case
If a number was in big-endian instead of little-endian, or vice versa, convert it back.
Example:
Instead of writing:
SELECT toIPv4(reinterpretAsUInt32(reverse(reinterpretAsFixedString(3351772109))))
I want to write:
SELECT toIPv4(byteSwap(3351772109))
Describe the solution you'd like
Implement this function for integer types.
Reactions are currently unavailable