Merge function for disk.frames
a disk.frame
a disk.frame or data.frame
the merge by keys
The output directory for the disk.frame
passed to merge and cmap.disk.frame
if TRUE then only chunks in df1 and df2 with the same chunk id will get merged
overwrite the outdir or not
b = as.disk.frame(data.frame(a = 51:150, b = 1:100))
d = as.disk.frame(data.frame(a = 151:250, b = 1:100))
bd.df = merge(b, d, by = "b", merge_by_chunk_id = TRUE)
# clean up cars.df
delete(b)
delete(d)
delete(bd.df)