Open
Description
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
- 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?")
- Start the Chrome console logging by selecting "More Tools" --> "Developer Tools".
- From the Annotated table (this is what I used), right click on the "Table Options" menu and select "Select Distinct Values".
- Choose a column (I chose "Even").
- 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:
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