Hi, I have an ordered Spark DataFrame, and I would like to change a few lines when repeating it with the following code, but it seems that there is no way to update the Row object
orderedDataFrame.foreach(new Function1<Row,BoxedUnit>(){
@Override
public BoxedUnit apply(Row v1) {
return null;
}
});
Also the above code gives a compilation error saying "myclassname is not abstract and it does not override abstract method apply$mcVj$sp(long) in scala Function 1"
Please direct. I am new to Spark. I am using version 1.4.0.
source
share