aokolnychyi commented on a change in pull request #3764:
URL: https://github.com/apache/iceberg/pull/3764#discussion_r772548945



##########
File path: 
spark/v3.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestUpdate.java
##########
@@ -603,11 +603,14 @@ public void testUpdateWithSelfSubquery() {
         ImmutableList.of(row(1, "hr"), row(2, "x")),
         sql("SELECT * FROM %s ORDER BY id", tableName));
 
-    sql("UPDATE %s SET dep = 'y' WHERE " +
-        "id = (SELECT count(*) FROM (SELECT DISTINCT id FROM %s) AS t)", 
tableName, tableName);
-    assertEquals("Should have expected rows",
-        ImmutableList.of(row(1, "hr"), row(2, "y")),
-        sql("SELECT * FROM %s ORDER BY id", tableName));
+    // TODO: Spark does not support AQE and DPP with aggregates at the moment

Review comment:
       Unfortunately, yes. It contains a distinct aggregation.




-- 
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]

Reply via email to