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

JS API cannot read numeric array columns, such as from DISTINCT in a UI-created rollup #6201

Open
niloc132 opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
barrage bug Something isn't working core Core development tasks jsapi
Milestone

Comments

@niloc132
Copy link
Member

Display a table with some numeric array columns, such as via a rollup with a distinct agg:

Steps to reproduce:

  1. Create a table with a column that can be grouped, and a column to aggregate by distinct in the rollup
    from deephaven import empty_table
    t = empty_table(100).update(["A = i % 3", "B = i % 7"])
  2. In the web IDE, open the advanced options > rollup rows, and group by one of the columns
  3. Then open the aggregate columns view and specify "distinct" for remaining columns

Expected: data is visible in the UI
Actual: No data loads (and no error shows, see browser console for details)

Uncaught Error: java.lang.ClassCastException
    createError dh-core.js:1464
    initializeBackingError dh-core.js:1490
    Throwable_0 dh-core.js:1421
    Exception_1 dh-core.js:1515
    RuntimeException_1 dh-core.js:1533
    ClassCastException_0 dh-core.js:40658
    checkCriticalType dh-core.js:49930
    castTo dh-core.js:324
    asObjectChunk dh-core.js:5204
    contract_7 dh-core.js:11368
    $readChunk_7 dh-core.js:10900
    readChunk_9 dh-core.js:10954
    $parseFrom dh-core.js:21237
    $onFlightData dh-core.js:28343
    apply_144 dh-core.js:28508
    lambda dh-core.js:193
    doExchange dh-internal.js:1

Found while testing #6200
Should be fixed by #6065

@niloc132 niloc132 added bug Something isn't working jsapi barrage triage labels Oct 15, 2024
@niloc132 niloc132 added this to the 0.37.0 milestone Oct 15, 2024
@rcaudy rcaudy added core Core development tasks and removed triage labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
barrage bug Something isn't working core Core development tasks jsapi
Projects
None yet
Development

No branches or pull requests

3 participants