Skip to content

Conversation

Jolanrensen
Copy link
Collaborator

@Jolanrensen Jolanrensen commented Sep 30, 2025

some bug fixes and slight improvements required for #1061.

Also expanded kdoc

@Jolanrensen Jolanrensen marked this pull request as ready for review September 30, 2025 19:22
@Jolanrensen Jolanrensen added this to the 1.0.0-Beta4 milestone Sep 30, 2025
@Jolanrensen Jolanrensen self-assigned this Sep 30, 2025
@Jolanrensen Jolanrensen added bug Something isn't working KDocs Improvements or additions to KDocs Compiler plugin Anything related to the DataFrame Compiler Plugin labels Sep 30, 2025
* `cumSum` only works on columns that contain solely primitive numbers.
*
* @param [skipNA\] Whether to skip null and NaN values (default: `true`).
* Similar to [sum][sum], [Byte][Byte]- and [Short][Short]-columns are converted to [Int][Int].
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sum-sum! Bye-Bye-Bye!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, unfortunately, there are KDoc rendering issues if you don't alias the types here

* {@set [CumSumDocs.CUMSUM_PARAM]}
*/
@Refine
@Interpretable("GroupByCumSum0")
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we are marking the functions for Compiler Plugin, should we add a test for this trivial case?
@koperagen

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

testing what? and how?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, usually i simply annotate functions and later adjust if anything is wrong (one time i forgot Refine annotation)

Copy link
Collaborator

@koperagen koperagen left a comment

Choose a reason for hiding this comment

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

Please add a test
And perform interactive rebase + force push before merge so fixup! commits don't end up in the master

@Jolanrensen Jolanrensen merged commit dc1a4b7 into master Oct 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Compiler plugin Anything related to the DataFrame Compiler Plugin KDocs Improvements or additions to KDocs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants