Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS] Fix error: ambiguous reference to overloaded definition
## What changes were proposed in this pull request? `df.groupBy.count()` should be `df.groupBy().count()` , otherwise there is an error : ambiguous reference to overloaded definition, both method groupBy in class Dataset of type (col1: String, cols: String*) and method groupBy in class Dataset of type (cols: org.apache.spark.sql.Column*) ## How was this patch tested? ```scala val df = spark.readStream.schema(...).json(...) val dfCounts = df.groupBy().count() ``` Author: Ziyue Huang <[email protected]> Closes #18272 from ZiyueHuang/master. (cherry picked from commit e6eb02d) Signed-off-by: Sean Owen <[email protected]>
- Loading branch information