@Sebastian: If I understand you correctly, then it should at least be
possible. If T is your datatype that behaves as such and x is the value of
type T that designates missingness, then it seems you could
straightforwardly write your own method to convert an Array{T} to a
NullableArray{T} that sets a given entry in the target isnull field to true
iff the corresponding entry in the argument array is x. I don't know how
the pros and cons will play out for your specific use case.
On Saturday, October 17, 2015 at 7:38:24 AM UTC-7, Sebastian Good wrote:
>
> This brings to mind a question that commonly comes up in scientific
> computing: nullable arrays simulated through means of a canonical "no-data
> value", e.g in a domain where all values are expected to be negative, using
> +9999. It's ugly, but it's really common. From what I can see of the
> implementation, this is a different approach than is used in
> NullableArrays, where a lookaside table of null/not-null is kept.
>
> Is it sensible or possible to work with this kind of data with this
> package?
>