From 2858477a8631b4d4ab3e6bef4c47f81f6fa4822d Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Tue, 10 Dec 2024 13:58:43 -0800 Subject: [PATCH] Handle infinities and NaN in the JSON encoding. --- VariantEncoding.md | 1 + 1 file changed, 1 insertion(+) diff --git a/VariantEncoding.md b/VariantEncoding.md index 299cf653..eb8ea93e 100644 --- a/VariantEncoding.md +++ b/VariantEncoding.md @@ -488,3 +488,4 @@ To maximize compatibility with readers that can process JSON but not Variant, th Notes: * For timestamp and timestampntz, values must use microsecond precision and trailing 0s are required +* For float and double, infinities and not a number values are encoded as strings: `"Infinity"`, `"-Infinity"`, and `"NaN"`