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

Rollup rows produces duplicates in groupedColumns array #3477

Closed
bmingles opened this issue Mar 2, 2023 · 0 comments · Fixed by #3482
Closed

Rollup rows produces duplicates in groupedColumns array #3477

bmingles opened this issue Mar 2, 2023 · 0 comments · Fixed by #3482
Assignees
Labels
bug Something isn't working rollup
Milestone

Comments

@bmingles
Copy link
Contributor

bmingles commented Mar 2, 2023

Description

When using the "Rollup rows" feature, the model.groupedColumns array contains 2 entries for each group column.

Steps to reproduce

  1. Create a query with at least 2 columns
from deephaven import empty_table, time_table

static_table = empty_table(25).update_view(formulas=[
    "MyString=new String(`a`+i)",
    "MyChar= new Character((char) ((i%26)+97))",
])
  1. Rollup rows with any number of columns, with constituent columns enabled

Expected results

The model.groupedColumns array should contain the columns that were added in the rollup.

Actual results

model.groupedColumns contains 2 columns for each column added in the rollup

e.g. Here's the above query with MyChar and MyString added as rollup columns:

image

Versions
Engine Version: 0.22.0
Web UI Version: 0.30.1
Java Version: 17.0.6
Barrage Version: 0.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rollup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants