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

feat!: provide key columns as scalars (vs. vectors) to RollingFormula #364

Open
deephaven-internal opened this issue Nov 19, 2024 · 0 comments

Comments

@deephaven-internal
Copy link

This issue was auto-generated

PR: deephaven/deephaven-core#6375
Author: lbooker42

Original PR Body

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");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant