Hello,

Le 20/10/2022 à 17:32, John Muehlhausen a écrit :
             if (fieldNullCount < 0)
             {
                throw new InvalidDataException("Null count length must be >= 0"); // TODO:Localize exception message
             }

Above from Ipc/ArrowReaderImplementation.cs.

pyarrow is fine with -1, probably due to the following.  It would be nice if C# were brought up to speed.

Do you know of any IPC writers that emit -1 here?

It is not explicitly allowed by the spec:
https://arrow.apache.org/docs/format/Columnar.html#null-count
https://github.com/apache/arrow/blob/2f627c213fc328ca7cd058d4455581fc246837da/format/Message.fbs#L39-L42

Regards

Antoine.

Reply via email to