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'm guessing your file has a list of nested structs which the app has issues with opening at the moment. This is a somewhat challenging implementation that I haven't had much luck with. In the meantime, can you share a sample file possibly?
Parquet Viewer Version
3.1
Where was the parquet file created?
Apache Spark
Sample File
Describe the bug
System.InvalidCastException: Specified cast is not valid.
at ParquetViewer.Engine.ParquetEngine.ReadListField(DataTableLite dataTable, ParquetRowGroupReader groupReader, Int32 rowBeginIndex, ParquetSchemaElement itemField, Int32 fieldIndex, Int64 skipRecords, Int64 readRecords, Boolean isFirstColumn, CancellationToken cancellationToken, IProgress`1 progress)
at ParquetViewer.Engine.ParquetEngine.ProcessRowGroup(DataTableLite dataTable, ParquetRowGroupReader groupReader, Int64 skipRecords, Int64 readRecords, CancellationToken cancellationToken, IProgress`1 progress)
at ParquetViewer.Engine.ParquetEngine.ReadStructField(DataTableLite dataTable, ParquetRowGroupReader groupReader, Int32 rowBeginIndex, ParquetSchemaElement field, Int64 skipRecords, Int64 readRecords, Boolean isFirstColumn, CancellationToken cancellationToken, IProgress`1 progress)
at ParquetViewer.Engine.ParquetEngine.ProcessRowGroup(DataTableLite dataTable, ParquetRowGroupReader groupReader, Int64 skipRecords, Int64 readRecords, CancellationToken cancellationToken, IProgress`1 progress)
at ParquetViewer.Engine.ParquetEngine.PopulateDataTable(DataTableLite dataTable, ParquetReader parquetReader, Int64 offset, Int64 recordCount, CancellationToken cancellationToken, IProgress`1 progress)
at ParquetViewer.Engine.ParquetEngine.ReadRowsAsync(List
1 selectedFields, Int32 offset, Int32 recordCount, CancellationToken cancellationToken, IProgress
1 progress)at ParquetViewer.MainForm.<>c__DisplayClass33_0.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at ParquetViewer.MainForm.LoadFileToGridview()
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at InvokeStub_SendOrPostCallback.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: