From 1846cc71b9e11d7290a1d8066bd67865ecb322c3 Mon Sep 17 00:00:00 2001 From: IG Date: Wed, 4 Dec 2024 11:21:58 +0000 Subject: [PATCH] wrong limitation for the framework --- src/Parquet/Serialization/ParquetSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parquet/Serialization/ParquetSerializer.cs b/src/Parquet/Serialization/ParquetSerializer.cs index 7e0d6afd..1e9b747c 100644 --- a/src/Parquet/Serialization/ParquetSerializer.cs +++ b/src/Parquet/Serialization/ParquetSerializer.cs @@ -26,7 +26,7 @@ public static class ParquetSerializer { private static readonly ConcurrentDictionary _typeToAssembler = new(); private static readonly ConcurrentDictionary _schemaToAssembler = new(); private static readonly Dictionary> AllowedDeserializerConversions = new() { -#if NET8_0_OR_GREATER +#if NET6_0_OR_GREATER { typeof(DateOnly), new HashSet{ typeof(DateTime) } }, { typeof(TimeOnly), new HashSet{ typeof(TimeSpan) } }, #endif