This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import breeze.numerics.abs | |
import org.apache.spark.rdd.RDD | |
import org.apache.spark.sql.functions.col | |
import org.apache.spark.sql.{Column, DataFrame, Row} | |
/** | |
* Originally created by Umberto on 06/02/2017 (https://gist.github.com/umbertogriffo/112a02848d8be269f23757c9656df908). Added minor fix by alexkon. | |
*/ | |
object DataFrameSuite { |