Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
szehon-ho committed Sep 13, 2024
1 parent 813777f commit 45369c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1663,10 +1663,10 @@ class Dataset[T] private[sql](
* spark.table("source")
* .update(Map("salary" -> lit(200)))
* .execute()
*
* }}}
* @param assignments A Map of column names to Column expressions representing the updates
* to be applied.
* @group basic
* @since 4.0.0
*/
def update(assignments: Map[String, Column]): Unit = {
Expand All @@ -1681,11 +1681,11 @@ class Dataset[T] private[sql](
* spark.table("source")
* .update(Map("salary" -> lit(200)), $"salary" === 100)
* .execute()
*
* }}}
* @param assignments A Map of column names to Column expressions representing the updates
* to be applied.
* @param condition the update condition
* @group basic
* @since 4.0.0
*/
def update(assignments: Map[String, Column], condition: Column): Unit = {
Expand Down

0 comments on commit 45369c7

Please sign in to comment.