A customer noticed that column groupings from layout hints are respected on regular tables, but ignored on rollup tables. (The columns can be grouped manually afterward and it works; the issue is just the layout hints being ignored.)
DH-17076
Only reproducible in Groovy:
import io.deephaven.engine.util.LayoutHintBuilder
source = emptyTable(100).update(
"K1 = ii",
"K2 = K1 % 10",
"Y = randomDouble(0, 10)",
"Z = randomDouble(0, 10)",
)
result_norollup = source.setLayoutHints(LayoutHintBuilder.get().columnGroup("MyCols", ["Y", "Z"]).build())
import io.deephaven.api.agg.spec.AggSpec
import io.deephaven.api.agg.Aggregation
result_rollup = source
.rollup([Aggregation.of(AggSpec.avg(), "Y", "Z")], false, "K2")
.setLayoutHints(LayoutHintBuilder.get().columnGroup("MyCols", ["Y", "Z"]).build())
For some reason, layout_hints is not an available method on RollupTable in Python: https://github.com/deephaven/deephaven-core/blob/dbf2b2db31ac3e982fc6c432b66d3cb688fda431/py/server/deephaven/table.py#L169
A customer noticed that column groupings from layout hints are respected on regular tables, but ignored on rollup tables. (The columns can be grouped manually afterward and it works; the issue is just the layout hints being ignored.)
DH-17076
Only reproducible in Groovy:
For some reason,
layout_hintsis not an available method onRollupTablein Python: https://github.com/deephaven/deephaven-core/blob/dbf2b2db31ac3e982fc6c432b66d3cb688fda431/py/server/deephaven/table.py#L169