You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behaviour:
Empty string array serialized to a collection containing 1 NULL element
Expected behaviour:
Empty string array serialized to a collection containing no elements
class Example
{
public string[] EmptyStringArray { get; } = Array.Empty<string>();
}
[Test]
public async Task MinimalExample()
{
var tempFile = Path.GetTempPath() + "example.parquet";
using var fileStream = new FileStream(tempFile, FileMode.Create);
var objectWithEmptyStringArray = new Example();
await ParquetSerializer.SerializeAsync(new List<Example> { objectWithEmptyStringArray }, fileStream);
fileStream.Close();
Console.Write($"Parquet file: {tempFile}");
}
Open generated file in any parquet file viewer --> EmptyStringArray is a collection with 1 NULL element
Failing test
No response
The text was updated successfully, but these errors were encountered:
Library Version
4.23.4
OS
Windows
OS Architecture
64 bit
How to reproduce?
Actual behaviour:
Empty string array serialized to a collection containing 1 NULL element
Expected behaviour:
Empty string array serialized to a collection containing no elements
Open generated file in any parquet file viewer -->
EmptyStringArray
is a collection with 1 NULL elementFailing test
No response
The text was updated successfully, but these errors were encountered: