You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by bl...@apache.org on 2025/02/13 17:50:04 UTC
(parquet-format) branch master updated: Minor: Remove Variant type id gaps (#483)
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-format.git
The following commit(s) were added to refs/heads/master by this push:
new 25f05e7 Minor: Remove Variant type id gaps (#483)
25f05e7 is described below
commit 25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2
Author: Gene Pang <77...@users.noreply.github.com>
AuthorDate: Thu Feb 13 09:49:58 2025 -0800
Minor: Remove Variant type id gaps (#483)
---
VariantEncoding.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/VariantEncoding.md b/VariantEncoding.md
index 28c7cfd..b091165 100644
--- a/VariantEncoding.md
+++ b/VariantEncoding.md
@@ -424,10 +424,10 @@ The Decimal type contains a scale, but no precision. The implied precision of a
| Float | float | `14` | FLOAT | IEEE little-endian |
| Binary | binary | `15` | BINARY | 4 byte little-endian size, followed by bytes |
| String | string | `16` | STRING | 4 byte little-endian size, followed by UTF-8 encoded bytes |
-| TimeNTZ | time without time zone | `21` | TIME(isAdjustedToUTC=false, MICROS) | 8-byte little-endian |
-| Timestamp | timestamp with time zone | `22` | TIMESTAMP(isAdjustedToUTC=true, NANOS) | 8-byte little-endian |
-| TimestampNTZ | timestamp without time zone | `23` | TIMESTAMP(isAdjustedToUTC=false, NANOS) | 8-byte little-endian |
-| UUID | uuid | `24` | UUID | 16-byte big-endian |
+| TimeNTZ | time without time zone | `17` | TIME(isAdjustedToUTC=false, MICROS) | 8-byte little-endian |
+| Timestamp | timestamp with time zone | `18` | TIMESTAMP(isAdjustedToUTC=true, NANOS) | 8-byte little-endian |
+| TimestampNTZ | timestamp without time zone | `19` | TIMESTAMP(isAdjustedToUTC=false, NANOS) | 8-byte little-endian |
+| UUID | uuid | `20` | UUID | 16-byte big-endian |
The *Equivalence Class* column indicates logical equivalence of physically encoded types.
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.