From 694b5f68c3a2c56d546afce5422309cf9e5e058c Mon Sep 17 00:00:00 2001 From: Sal Date: Sun, 17 Dec 2023 19:53:42 -0500 Subject: [PATCH] query support for byte array? --- src/ParquetViewer/MainForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ParquetViewer/MainForm.cs b/src/ParquetViewer/MainForm.cs index 73ddb22..ce31608 100644 --- a/src/ParquetViewer/MainForm.cs +++ b/src/ParquetViewer/MainForm.cs @@ -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() - .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