What is the expected result when writing nullables on non-nullable attribute? #832
Replies: 2 comments
-
Some supporting information: given the arrays written by TileDB-R as above, reading them using TileDB-Py:
Notice that in the nullable=false case, the affected readback values are shown to be the fill values for each column's datatype. TileDB-Py shows these fill values without modification. TileDB-R, by contrast, is mapping these to R |
Beta Was this translation helpful? Give feedback.
-
Driven by @johnkerl comment, is Let's start from
Someone can infer that the default case doesn't allow missing values (
If that holds true, it's safer and more manageable for user to set always |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When a schema has attributes that no nullables allowed, do we expect the write operation to succeed when the writing data include nullables? See what happens with
df1
in the example:Passing nullable data to non-nullable attrs and reading back we could get
NaN
,NA
,i64 NA
, 0, .. depending on column type.Would that behaviour defy the role of
nullable
argument intiledb_attr()
?Beta Was this translation helpful? Give feedback.
All reactions