datachain
datachain copied to clipboard
map/gen/agg: overwrite columns
Similar to #336 but for the map/gen/agg
In the case of .map(), being able to replace a compound signal (i.e a column whose type is a DataModel) with another requires us to be able to tell the DatasetQuery layer to replace some arbitrary set of columns with another. Maybe we can add that logic to DatasetQuery.add_signal() but I wonder if it wouldn't be easier to move some of the UDF table logic to DataChain.