You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a data.frame is passed to Task$cbindas_data_backend.data.frame is called which automtically sets the primary key to ..row_id
sebffischer
changed the title
PipeOpFeatureUnion does not work when underlying backend has primary_key different to ..row_id
Task cbind breaks when task's backend has primary_key different to ..row_idAug 31, 2023
A data.frame is passed to $cbind() --> then we create the primary_key under the name of the existing primary_key
A backend is passed to $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
The text was updated successfully, but these errors were encountered: