Closed dgodinez-dh closed 1 month ago
Description
Pasting a large number of rows into an InputTable fails with an error "Copy and paste area are not same size."
Steps to reproduce
Run the following groovy script:
import io.deephaven.engine.table.impl.util.AppendOnlyArrayBackedInputTable copyHere = emptyTable(1000).update("X = i") pasteHere = AppendOnlyArrayBackedInputTable.make(emptyTable(1).update("X = i"))
From "copyHere" table, select all and copy.
Copy data in the "pasteHere" table.
Expected results
Data should paste.
Actual results
InputTable displays error: "Copy and paste area are not same size."
Additional details and attachments
Problem found in Enterprise ticket DH-11898. Occurs in Grid.tsx pasteValue method.
Versions
Enterprise: 1.20231218.359 Core+: 0.33.4
(Note: Found earlier but fix in 1.20231218)
Python equivalent:
from deephaven import empty_table, input_table copy_here = empty_table(1000).update(["X=i"]) paste_here = input_table(init_table=empty_table(1).update(["X = i"]))
Description
Pasting a large number of rows into an InputTable fails with an error "Copy and paste area are not same size."
Steps to reproduce
Run the following groovy script:
From "copyHere" table, select all and copy.
Copy data in the "pasteHere" table.
Expected results
Data should paste.
Actual results
InputTable displays error: "Copy and paste area are not same size."
Additional details and attachments
Problem found in Enterprise ticket DH-11898. Occurs in Grid.tsx pasteValue method.
Versions
Enterprise: 1.20231218.359 Core+: 0.33.4
(Note: Found earlier but fix in 1.20231218)