org.apache.spark.sql.Sniffer.scala Maven / Gradle / Ivy
package org.apache.spark.sql
/**
* The Sniffer singleton provide a backdoor to access private spark
* function.
*/
object Sniffer {
/** Backdoor for showString private function. */
def datasetShowString[T](dataset: Dataset[T], _numRows: Int, truncate: Int): String =
dataset.showString(_numRows, truncate)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy