cloud-fan commented on code in PR #52016:
URL: https://github.com/apache/spark/pull/52016#discussion_r2416904526
##########
sql/core/src/test/scala/org/apache/spark/sql/connector/UpdateTableSuiteBase.scala:
##########
@@ -735,4 +738,137 @@ abstract class UpdateTableSuiteBase extends
RowLevelOperationSuiteBase {
Row(5)))
}
}
+
+ test("update with UDT column") {
+ withTempView("v2") {
+ val data2 =
+ Seq(
+ (1, Point(21, 31)),
+ (2, Point(22, 32)),
+ (3, Point(23, 33))
+ ).toDF("pk", "pt")
+ data2.createTempView("v2")
+
+ withTable(tableNameAsString) {
Review Comment:
nit: no need to call `withTable` as this test suite clears all tables after
each test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]