Skip to content

Commit a58a87b

Browse files
author
xy_xin
committed
Update doc
1 parent 57cfcdb commit a58a87b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/connector/InMemoryTable.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ class InMemoryTable(
160160
}
161161

162162

163-
// NOTE: this only support updating partition fields, and it does not check
164-
// the set expression.
163+
// NOTE: this only support updating data with a literal, i.e., it cannot update
164+
// a date `d` to `date_add(d, 1)`, which is an function.
165165
override def updateWhere(sets: util.Map[String, Expression],
166166
filters: Array[Filter]): Unit = dataMap.synchronized {
167167
val keys = InMemoryTable.filtersToKeys(dataMap.keys, partFieldNames, filters)

0 commit comments

Comments
 (0)