ShowString

org.apache.spark.sql.connect.client.ShowString
object ShowString

Renders rows as the familiar df.show() table, client-side, matching the layout of Dataset.showString in Apache Spark (horizontal and vertical). Rendering locally from collected rows keeps show() deterministic and exactly consistent with collect().

The caller passes up to numRows + 1 rows; the extra row (if present) only triggers the "only showing top N rows" footer and is not displayed.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ShowString.type

Members list

Value members

Concrete methods

def apply(rows: Seq[Row], schema: StructType, numRows: Int, truncate: Int, vertical: Boolean): String