Skip to content

Removing a column from the Select Distinct Values dialog, throws an Assertion Error in Chrome console logs. #193

Open
@staceybrusco

Description

@staceybrusco

Removing a column from the Select Distinct Values dialog, throws an Assertion Error in Chrome console logs. This is more gracefully handled in DHE.

A clear and concise description of what the bug is.

Steps to reproduce

  1. Used this query:
syms=(String[])["GOOG", "BRKB", "AAPL", "SPY", "VXX" , "UNG", "USO" , "SDR", "CVC", "XOM" , "XLU", "XLF" , "UVXY", "OZM", "GLD" , "TSLA"]

tt   = timeTable("00:00:01.000")
        .update("Diff=(Timestamp-Timestamp_[0])/1000000000", "Dummy=1-i")

annotated = tt.update("Even=Diff%2==0?true:false",
        "Parity=Diff%2==0?`Even`:`Odd`",
        "USym=syms[i % syms.length]",
        "Sym=syms[i % syms.length]+`_`+Diff",
        "Expiry=Timestamp+HOUR")
        .withColumnDescription("USym", "The Underlying Symbol")
        .withColumnDescription("Sym", "The Decorated USym")
        .withColumnDescription("Diff", "The Difference!")
        .withColumnDescription("Parity", "How Pairful?")
  1. Start the Chrome console logging by selecting "More Tools" --> "Developer Tools".
  2. From the Annotated table (this is what I used), right click on the "Table Options" menu and select "Select Distinct Values".
  3. Choose a column (I chose "Even").
  4. Wait for the table to filter, and then click on the garbage can to remove the "Even" column in the dialog.

Expected results

There should not be any Assertion Error written to the console logs. I confirmed this doesn't happen in DHE.

Actual results

The following Assertion Error is thrown in the Chrome console log:

Screen Shot 2021-09-09 at 12 40 39 PM

Additional details and attachments

If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.

Versions

  • Deephaven: Version 0.3.1 (last full commit was "* 40ae450c (origin/main, origin/HEAD) Expand sphinx wiring to produce docs for pydeephaven (#1216)", but I also pulled in "* 815c9875 Fix case insensitive string filters" to test a fix for an issue I was running into.
  • OS: Mac Big Sur v11.5.2
  • Browser: Chrome Version 93.0.4577.63 (Official Build) (x86_64)
  • Docker: 4.0.0

Screen Shot 2021-09-09 at 1 57 01 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions