You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhengruifeng (via GitHub)" <gi...@apache.org> on 2024/03/22 10:19:10 UTC

[PR] [MINOR][PYTHON][DOCS] Fix a `pandas_udf` example [spark]

zhengruifeng opened a new pull request, #45665:
URL: https://github.com/apache/spark/pull/45665

   ### What changes were proposed in this pull request?
   Fix a `pandas_udf` example
   
   
   ### Why are the changes needed?
   checked in both spark connect and vanilla spark, the return type is a struct type other than array type
   
   ```
   In [34]: df.select(split_expand("name")).printSchema()
   root
    |-- split_expand(name): struct (nullable = true)
    |    |-- first: string (nullable = true)
    |    |-- last: string (nullable = true)
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   yes, doc changes
   
   
   ### How was this patch tested?
   manually check
   
   ### Was this patch authored or co-authored using generative AI tooling?
   no
   


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [MINOR][PYTHON][DOCS] Fix a `pandas_udf` example [spark]

Posted by "xinrong-meng (via GitHub)" <gi...@apache.org>.
xinrong-meng commented on PR #45665:
URL: https://github.com/apache/spark/pull/45665#issuecomment-2015668936

   Retriggered CI tests cause failed ones seemed irrelevant to the proposed change.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [MINOR][PYTHON][DOCS] Fix a `pandas_udf` example [spark]

Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon closed pull request #45665: [MINOR][PYTHON][DOCS] Fix a `pandas_udf` example
URL: https://github.com/apache/spark/pull/45665


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [MINOR][PYTHON][DOCS] Fix a `pandas_udf` example [spark]

Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng commented on PR #45665:
URL: https://github.com/apache/spark/pull/45665#issuecomment-2014780638

   It seems we don't enable the doctest of `pandas_udf`, is it intended? @HyukjinKwon 


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [MINOR][PYTHON][DOCS] Fix a `pandas_udf` example [spark]

Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon commented on PR #45665:
URL: https://github.com/apache/spark/pull/45665#issuecomment-2016992563

   Merged to master.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org