apache / apache/arrow-nanoarrow

Relax validation for null validity buffer when null_count is -1

Open
#855 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
249
Forks
68
Avg merge
2d 21h
Merged PRs (30d)
11

Description

This can happen in the wild ( https://github.com/firelab/gdalraster/issues/918#issuecomment-4071676813 ) and the current validation is tighter than what Arrow C++ accepts on import (I checked arrow-rs and it also does not mind).

We error if null_count != 0 but it is probably sufficient to check that the null count is not > 0 for all practical purposes. The use case in the issue is that GDAL has been producing arrays like this for several years and there's no real reason we shouldn't accept these arrays.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.