Open sebffischer opened 10 months ago
probably an issue with Task$cbind()
When a data.frame
is passed to Task$cbind
as_data_backend.data.frame
is called which automtically sets the primary key to ..row_id
we could handle both cases:
$cind()
--> then we create the primary_key under the name of the existing primary_key$cbind()
--> then we can call DataBackendRename
in case the primary key's don't match and the primary key of the task's backend is not a column name in the backend passed to $cbind()
.
Created on 2023-08-31 with reprex v2.0.2