All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.spark.sql.Sniffer.scala Maven / Gradle / Ivy

There is a newer version: 0.12.0
Show newest version
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