Skip to content

Commit

Permalink
query support for byte array?
Browse files Browse the repository at this point in the history
  • Loading branch information
mukunku committed Dec 18, 2023
1 parent f457165 commit 694b5f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ParquetViewer/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ private void runQueryButton_Click(object sender, EventArgs e)

//Treat list, map, and struct types as strings by casting them automatically
foreach (var complexField in this.mainGridView.Columns.OfType<DataGridViewColumn>()
.Where(c => c.ValueType == typeof(ListValue) || c.ValueType == typeof(MapValue) || c.ValueType == typeof(StructValue))
.Where(c => c.ValueType == typeof(ListValue) || c.ValueType == typeof(MapValue)
|| c.ValueType == typeof(StructValue) || c.ValueType == typeof(ByteArrayValue))
.Select(c => c.Name))
{
//This isn't perfect but it should handle most cases
Expand Down

0 comments on commit 694b5f6

Please sign in to comment.