Skip to content

Commit ccdd571

Browse files
committed
Add fixed(L) type to variant spec
1 parent a498aa9 commit ccdd571

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

VariantEncoding.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ The Decimal type contains a scale, but no precision. The implied precision of a
399399
| Timestamp | timestamp with time zone | `22` | TIMESTAMP(isAdjustedToUTC=true, NANOS) | 8-byte little-endian |
400400
| TimestampNTZ | timestamp without time zone | `23` | TIMESTAMP(isAdjustedToUTC=false, NANOS) | 8-byte little-endian |
401401
| UUID | uuid | `24` | UUID | 16-byte big-endian |
402+
| Fixed(L) | Byte array of length L | `25` | FIXED_LEN_BYTE_ARRAY[L] | 4 byte little-endian size L, followed by length-L bytes |
402403

403404
The *Type Equivalence Class* column indicates logical equivalence of physically encoded types.
404405
For example, a user expression operating on a string value containing "hello" should behave the same, whether it is encoded with the short string optimization, or long string encoding.

0 commit comments

Comments
 (0)