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

Table attributes not processed by JS API #1451

Closed
mofojed opened this issue Oct 13, 2021 · 0 comments
Closed

Table attributes not processed by JS API #1451

mofojed opened this issue Oct 13, 2021 · 0 comments
Assignees
Labels
bug Something isn't working jsapi triage
Milestone

Comments

@mofojed
Copy link
Member

mofojed commented Oct 13, 2021

Table attributes are not processed by the JS API. In BarrageSchemaUtil#makeSchemaPayload, the attributes are being written; however in ClientTableState#applyTableCreationResponse, the attributes are ignored.

Tested by adding layout hints to a table:

from deephaven import TableTools
importjava("io.deephaven.db.tables.utils.LayoutHintBuilder")
t = TableTools.emptyTable(100).update("A=i", "B=i*i", "C=A+B", "D=A*B", "E=i*2", "F=E+B")

t2=t.update(java_array("java.lang.String", [])).layoutHints(LayoutHintBuilder.get().atFront("B").atEnd("C", "D"))
@mofojed mofojed added bug Something isn't working jsapi triage labels Oct 13, 2021
@mofojed mofojed added this to the Oct 2021 milestone Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jsapi triage
Projects
None yet
Development

No branches or pull requests

2 participants