Skip to content

Commit

Permalink
Spec: Fix missing negative in binary/fixed hash examples (apache#2840)
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi authored Jul 20, 2021
1 parent 5ca3910 commit 77903d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,8 @@ The 32-bit hash implementation is 32-bit Murmur3 hash, x86 variant, seeded with
| **`timestamptz`** | `hashLong(microsecsFromUnixEpoch(v))` | `2017-11-16T14:31:08-08:00``-2047944441` |
| **`string`** | `hashBytes(utf8Bytes(v))` | `iceberg``1210000089` |
| **`uuid`** | `hashBytes(uuidBytes(v))` [3] | `f79c3e09-677c-4bbd-a479-3f349cb785e7``1488055340` |
| **`fixed(L)`** | `hashBytes(v)` | `00 01 02 03``188683207` |
| **`binary`** | `hashBytes(v)` | `00 01 02 03``188683207` |
| **`fixed(L)`** | `hashBytes(v)` | `00 01 02 03``-188683207` |
| **`binary`** | `hashBytes(v)` | `00 01 02 03``-188683207` |

The types below are not currently valid for bucketing, and so are not hashed. However, if that changes and a hash value is needed, the following table shall apply:

Expand Down

0 comments on commit 77903d6

Please sign in to comment.