Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2137,6 +2137,11 @@ class Dataset[T] private[sql](
* `column`'s expression must only refer to attributes supplied by this Dataset. It is an
* error to add a column that refers to some other Dataset.
*
* Please notice that this method introduces a `Project`. This means that using it in loops in
* order to add several columns can generate very big plans which can cause huge performance
* issues and even `StackOverflowException`s. A much better alternative use `select` with the
* list of columns to add.
*
* @group untypedrel
* @since 2.0.0
*/
Expand Down