srowen commented on a change in pull request #34450:
URL: https://github.com/apache/spark/pull/34450#discussion_r739858329
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
##########
@@ -1638,6 +1638,58 @@ class Dataset[T] private[sql](
c5: TypedColumn[T, U5]): Dataset[(U1, U2, U3, U4, U5)] =
selectUntyped(c1, c2, c3, c4, c5).asInstanceOf[Dataset[(U1, U2, U3, U4,
U5)]]
+ /**
+ * Checks if the condition is true for any of the rows.
+ * {{{
+ * peopleDs.forany($"age" > 15)
+ * }}}
+ *
+ * @group typedrel
+ * @since 3.2.0
Review comment:
Sorry yes I meant Python/R. I don't think this is worthwhile if it isn't
optimizing or saving the caller much code
--
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]