Skip to content

fix: Select distinct throwing for tables with multiple columns#1286

Merged
mattrunyon merged 2 commits intodeephaven:mainfrom
mattrunyon:select-distinct-error
May 10, 2023
Merged

fix: Select distinct throwing for tables with multiple columns#1286
mattrunyon merged 2 commits intodeephaven:mainfrom
mattrunyon:select-distinct-error

Conversation

@mattrunyon
Copy link
Copy Markdown
Collaborator

Fixes #1275

The true issue is we modify IrisGridProxyModel.model but there's no update propagated to IrisGrid because it receives the proxy model which does not actually change. This causes the potential for out of sync model/metrics

@mattrunyon mattrunyon requested a review from mofojed May 10, 2023 17:58
@mattrunyon mattrunyon self-assigned this May 10, 2023
@mattrunyon mattrunyon enabled auto-merge (squash) May 10, 2023 18:07
@mattrunyon mattrunyon merged commit 4b40e4b into deephaven:main May 10, 2023
mattrunyon added a commit to mattrunyon/web-client-ui that referenced this pull request May 10, 2023
…aven#1286)

Fixes deephaven#1275 

The true issue is we modify `IrisGridProxyModel.model` but there's no
update propagated to `IrisGrid` because it receives the proxy model
which does not actually change. This causes the potential for out of
sync model/metrics
mattrunyon added a commit that referenced this pull request May 10, 2023
@mattrunyon mattrunyon deleted the select-distinct-error branch May 10, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select Distinct throws error for tables with more than one column

2 participants