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
I used the following to create a Parquet file from a List (same behaviour with a class).
await ParquetSerializer.SerializeAsync(sortedTicks, parquetFilePath);
However if I immediately try to load the file it appears full of default values.
IList ticksP = await ParquetSerializer.DeserializeAsync(parquetFilePath);
Tracing through the code in the debugger reveals an exception being thrown from ParquetSerializer:279 because this comparison returns false : fasm.Field.Equals(dataField).
I can see this is because the dataField.SchemaElement is set to a valid element, but in fasm.Field is null.
Library Version
4.25
OS
Windows 11
OS Architecture
64 bit
How to reproduce?
I used the following to create a Parquet file from a List (same behaviour with a class).
await ParquetSerializer.SerializeAsync(sortedTicks, parquetFilePath);
However if I immediately try to load the file it appears full of default values.
IList ticksP = await ParquetSerializer.DeserializeAsync(parquetFilePath);
Tracing through the code in the debugger reveals an exception being thrown from ParquetSerializer:279 because this comparison returns false : fasm.Field.Equals(dataField).
I can see this is because the dataField.SchemaElement is set to a valid element, but in fasm.Field is null.
Here is a sample file which will trigger the error when read: https://1drv.ms/u/s!AhDUHssG2nbYmoM7f0vBU3Lm8-Thow?e=TPGsP9
The Floor app can display the file fine.
public struct Tick
{
private static int tickSize = 100000; // TODO - Look this up for the specific instrument
Failing test
No response
The text was updated successfully, but these errors were encountered: