This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e4df5d14b22 [MINOR][DOCS] Change "filter" to "transform" in
`transform` function docstring
e4df5d14b22 is described below
commit e4df5d14b224f9445333f3457c7d05c5c7aeb461
Author: Gabriel Dahia <[email protected]>
AuthorDate: Fri Sep 8 10:10:58 2023 -0700
[MINOR][DOCS] Change "filter" to "transform" in `transform` function
docstring
### What changes were proposed in this pull request?
This PR proposes a simple change in the documentation for the `transform`
function in `sql`. I believe where it currently reads "filter" it should read
"transform".
### Why are the changes needed?
I believe this change might not be needed per se, but it would be a slight
improvement to the current version to avoid the misnomer.
### Does this PR introduce _any_ user-facing change?
Yes, it shows the word "transform' instead of "filter" in the documentation
for the `transform` `sql`. function.
### How was this patch tested?
This patch was not tested because it only changes documentation.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #42858 from gdahia/patch-1.
Lead-authored-by: Gabriel Dahia <[email protected]>
Co-authored-by: Gabriel Dahia <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
sql/core/src/main/scala/org/apache/spark/sql/functions.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
index c1f674d2c0c..5935695818e 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
@@ -6267,8 +6267,8 @@ object functions {
* }}}
*
* @param column the input array column
- * @param f (col, index) => transformed_col, the lambda function to filter
the input column
- * given the index. Indices start at 0.
+ * @param f (col, index) => transformed_col, the lambda function to
transform the input
+ * column given the index. Indices start at 0.
*
* @group collection_funcs
* @since 3.0.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]