-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected hasNulls
behavior for #428
#429
base: master
Are you sure you want to change the base?
Conversation
Since we're not sure about the performance impact this would have and based on the philosophy of DF I propose the following solution:
That way, parts of the library that need performance can use |
What i have in mind: in most places where
dataframe/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/columns/ValueColumnImpl.kt Line 29 in 704200c
I want to use this information when available. Now this information is stored as a nullability flag in the type. It works everywhere except Assuming it's the only such place, i suggest to see if it's feasible to change something in the arrow module without hurting existing use cases. If not, then maybe make |
@koperagen thank you for the question)
Yes but
In arrow reading I do not see any problems (if you do, please, open the issue with unexpected behavior example). In arrow writing we can use custom thorough check instead of hasNulls to make saving nullable without nulls as not nullable to work correctly. |
7b07187
to
2e55e77
Compare
Expected
hasNulls
behavior for #428