johnnyg commented on issue #40928: URL: https://github.com/apache/arrow/issues/40928#issuecomment-2033334963
Actually it looks like this may be a bug in the [MS DataFrame library](https://www.nuget.org/packages/Microsoft.Data.Analysis/) we are using to read the values, e.g. ```csharp public void DataFrameDecodeBooleans() { BooleanArray boolArray = new BooleanArray.Builder().AppendNull().Append(false).Append(true).Build(); Field boolField = new Field("col", BooleanType.Default, true); Schema schema = new Schema(new[] { boolField }, null); RecordBatch batch = new RecordBatch(schema, new IArrowArray[] { boolArray }, boolArray.Length); DataFrame df = DataFrame.FromArrowRecordBatch(batch); DataFrameColumn boolCol = df["col"]; Assert.Equal(boolArray.Length, boolCol.Length); for (int row = 0; row < boolArray.Length; row++) { Assert.Equal(boolArray.GetValue(row), boolCol[row]); } } ``` fails. I'll double check that our actual data looks correct when using the direct methods and not via the Dataframe and report back. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
