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

Updated time and rolling_wavg to the new ways #160

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public void joinTwoTablesFromParquetViews() {
api.setName("Join Two Tables Using Parquet File Views");

var query = """
from deephaven.time import now
from deephaven import agg
from deephaven.parquet import read

Expand Down Expand Up @@ -98,7 +97,6 @@ public void joinTwoTablesFromParquetFileIncRelease() {
api.setName("Join Two Tables Using Incremental Release of Parquet File Records");

var query = """
from deephaven.time import now
from deephaven import agg
from deephaven.parquet import read

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public void rollingWAvgTime2Groups3OpsInt() {
public void rollingWAvgTick2Groups3OpsFloat() {
runner.setScaleFactors(2, 1);
var setup = """
contains_row = rolling_wavg_tick(weight_col='int10', cols=["Contains = float5"], rev_ticks=1, fwd_ticks=1)
before_row = rolling_wavg_tick(weight_col='int10', cols=["Before = float5"], rev_ticks=3, fwd_ticks=-1)
after_row = rolling_wavg_tick(weight_col='int10', cols=["After = float5"], rev_ticks=-1, fwd_ticks=3)
contains_row = rolling_wavg_tick('int10', cols=["Contains = float5"], rev_ticks=1, fwd_ticks=1)
before_row = rolling_wavg_tick('int10', cols=["Before = float5"], rev_ticks=3, fwd_ticks=-1)
after_row = rolling_wavg_tick('int10', cols=["After = float5"], rev_ticks=-1, fwd_ticks=3)
""";
runner.addSetupQuery(setup);

Expand Down