Skip to content

RelationalGroupedDataset

RelationalGroupedDataset is a result of executing high-level grouping operators.

This is a stub

This page is a stub to describe PySpark-related methods only. Learn more about RelationalGroupedDataset in The Internals of Spark SQL.

flatMapCoGroupsInPandas

flatMapCoGroupsInPandas(
  r: RelationalGroupedDataset,
  expr: PythonUDF): DataFrame

flatMapCoGroupsInPandas...FIXME

flatMapCoGroupsInPandas is used when:

flatMapGroupsInPandas

flatMapGroupsInPandas(
  expr: PythonUDF): DataFrame

flatMapGroupsInPandas creates a DataFrame with a FlatMapGroupsInPandas logical operator.

flatMapGroupsInPandas asserts that the input PythonUDF is a grouped map udf (the evalType is PythonEvalType.SQL_GROUPED_MAP_PANDAS_UDF).

flatMapGroupsInPandas asserts that the return type of the input PythonUDF is StructType.

flatMapGroupsInPandas is used when:


Last update: 2021-03-03