We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57cfcdb commit a58a87bCopy full SHA for a58a87b
sql/catalyst/src/test/scala/org/apache/spark/sql/connector/InMemoryTable.scala
@@ -160,8 +160,8 @@ class InMemoryTable(
160
}
161
162
163
- // NOTE: this only support updating partition fields, and it does not check
164
- // the set expression.
+ // NOTE: this only support updating data with a literal, i.e., it cannot update
+ // a date `d` to `date_add(d, 1)`, which is an function.
165
override def updateWhere(sets: util.Map[String, Expression],
166
filters: Array[Filter]): Unit = dataMap.synchronized {
167
val keys = InMemoryTable.filtersToKeys(dataMap.keys, partFieldNames, filters)
0 commit comments