I've tried this two options:
object DSChecker {
implicit def checkImplFunction(dataset: Dataset[Row], config:Config): Checker = new Checker (dataset, config)
}
and
object DSChecker {
implicit def checkImplFunction(dataset: Dataset[Row])(implicit config:Config): Checker = new Checker (dataset, config)
}
They compile, but the problem is when I need two use them.
I've tried also multiple combinations, but they don't compile... (evalDifferences is a "normal" function inside clas Checker)
//Whithout implicit args in implicit function
import DSChecker._
(df1, difConfig).evalDifferences(df2)
or
// With config as implicit arg in implicit funciton
import DSChecker._
df1.evalDifferences(df2)
The problem is always the same... the compilator doesn't find "evalDifferences" method.
Can someone help me?