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