Skip to content
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

generate "nullable properties" only where needed #597

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

koperagen
Copy link
Collaborator

@koperagen koperagen commented Feb 21, 2024

The fact that we generate 4 (and not 2) extension properties for every column has been bothering me for some time now. It makes %trackExecution harder to comprehend, especially considering that we want to improve UX with kernel-generated code on Kotlin Notebook side.
After some thinking i came to believe that 4 properties are only needed for declared schemas (like interfaces, or something generated from open api) and thing that bothers me can be solved by adding an option.

The fact that we generate 4 extension properties for every column
has been bothering me for some time now. It makes %trackExecution
harder to comprehend, especially considering that we want
to improve UX with kernel-generated code on Kotlin Notebook side.
After some thinking i came to believe that 4 properties are only needed for declared schemas (like interfaces, or something generated from open api)
and thing that bothers me can be solved by adding an option
Copy link
Collaborator

@Jolanrensen Jolanrensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to look into it a bit deeper again... But I agree, it makes sense!
In REPL, the actual data in the DataFrame is used, meaning the nulls are "pushed down" to the value level.

@koperagen koperagen added the invalid This doesn't seem right label Feb 21, 2024
@koperagen koperagen self-assigned this Feb 21, 2024
@koperagen koperagen added this to the 0.13.0 milestone Feb 21, 2024
@koperagen koperagen merged commit 3091224 into master Feb 21, 2024
2 checks passed
@Jolanrensen Jolanrensen deleted the nullable-properties-fix/0 branch February 22, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants