-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hello, the data.frame sales_inspected has 11 columns. Here is the code I execute:
Putting the data.frame into hdfs:
output(input(as.data.frame(sales_inspected)), "/data/sales_inspected")Processing the data and putting the result into hdfs:
output(bind.cols(input("/data/sales_inspected"), Unitval=Val/Quant), "/data/sales.out")Loading the result into R:
sales.out <- as.data.frame( input("/data/sales.out") )Processing the data and putting it into R:
sales.out2 <- input("/data/sales_inspected") %|% bind.cols(Unitval=Val/Quant) %|% as.data.frameComparing the results:
identical(sales.out,sales.out2)It turns out, that during the bind.cols of the second way of doing it, leads to the loss of two columns. So sales.out has 12 columns (correctly), while sales.out2 only has 10 columns. Why is that? What went wrong?
Metadata
Metadata
Assignees
Labels
No labels