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 2023/12/06 08:58:19 UTC

[PR] [SPARK-46284][PYTHON][CONNECT] Add `session_user` function to Python [spark]

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

   ### What changes were proposed in this pull request?
   `session_user` function was added in Scala in https://github.com/apache/spark/pull/42549, this PR adds it to Python
   
   ### Why are the changes needed?
   for parity
   
   
   ### Does this PR introduce _any_ user-facing change?
   yes
   ```
       >>> import pyspark.sql.functions as sf
       >>> spark.range(1).select(sf.session_user()).show() # doctest: +SKIP
       +--------------+
       |current_user()|
       +--------------+
       | ruifeng.zheng|
       +--------------+
   ```
   
   
   ### How was this patch tested?
   ci
   
   ### 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] [SPARK-46284][PYTHON][CONNECT] Add `session_user` function to Python [spark]

Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng closed pull request #44205: [SPARK-46284][PYTHON][CONNECT] Add `session_user` function to Python
URL: https://github.com/apache/spark/pull/44205


-- 
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] [SPARK-46284][PYTHON][CONNECT] Add `session_user` function to Python [spark]

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

   ci: https://github.com/zhengruifeng/spark/actions/runs/7112261177/job/19361866722


-- 
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] [SPARK-46284][PYTHON][CONNECT] Add `session_user` function to Python [spark]

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

   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