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

Implement DisplayWrapper#hashCode to fix SelectDistinct Behavior of Previewed Columns #5281

Merged
merged 1 commit into from
May 16, 2024

Conversation

nbauernfeind
Copy link
Member

@nbauernfeind nbauernfeind commented Mar 22, 2024

This is a behavior that makes #5280 more sane, but doesn't fix the "underlying" issue which is that we probably shouldn't support UI filters (quick or advanced) on previewed columns.

@nbauernfeind nbauernfeind added bug Something isn't working core Core development tasks NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. labels Mar 22, 2024
@nbauernfeind nbauernfeind added this to the 1. March 2024 milestone Mar 22, 2024
@nbauernfeind nbauernfeind self-assigned this Mar 22, 2024
@mofojed
Copy link
Member

mofojed commented Mar 25, 2024

Won't this have a problem with preview columns with array values? The server wouldn't match the client filter in that case. Perhaps we're not concerned with that case here, but worth calling out/commenting on.

@mofojed
Copy link
Member

mofojed commented Mar 25, 2024

I thought Arrays used DisplayWrapper, didn't realize there was a separate ArrayPreview for them.

@rcaudy
Copy link
Member

rcaudy commented May 16, 2024

We should merge this. Then, we should consider "better" fixes:

  1. selectDistinct on the underlying table, not the previewed table, then apply previews to the result, and maybe have a clear way to "reverse" previews to make sure the selection picks the right value.
  2. Disable these kinds of widgets on preview columns, since they're hard to get right.

@nbauernfeind nbauernfeind merged commit dbe2e7a into deephaven:main May 16, 2024
25 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working core Core development tasks NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. point_release_candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants