Skip to content

Conversation

@lbooker42
Copy link
Contributor

@lbooker42 lbooker42 commented Nov 13, 2024

Example:

NOTE: Sym is a key column and is constant for each bucket. It is presented to the UDF as a string (not a vector). intCol / longCol are vectors containing the window data.

t_out = t.updateBy(UpdateByOperation.RollingFormula(prevTicks, postTicks,
        "out_val=sum(intCol) - max(longCol) + (Sym == null ? 0 : Sym.length())"), "Sym");

@lbooker42 lbooker42 self-assigned this Nov 13, 2024
@lbooker42 lbooker42 added this to the 0.37.0 milestone Nov 13, 2024
Copy link
Member

@rcaudy rcaudy left a comment

Choose a reason for hiding this comment

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

Ready to approve, but for one comment in discussion.

@lbooker42 lbooker42 merged commit 5d44879 into deephaven:main Nov 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2024
@deephaven-internal
Copy link
Contributor

Labels indicate documentation is required. Issues for documentation have been opened:

Community: deephaven/deephaven-docs-community#364

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants