[ 
https://issues.apache.org/jira/browse/SPARK-38416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501907#comment-17501907
 ] 

Yikun Jiang commented on SPARK-38416:
-------------------------------------

Yep, this might be a bad copy paste, are you going to submit a PR fix it?

[https://github.com/Yikun/spark/commit/c8cec8373fd63ce87293977be8fc3bda3cbb3b92]

I tested it in my local env it passed.

> Duplicate functions
> -------------------
>
>                 Key: SPARK-38416
>                 URL: https://issues.apache.org/jira/browse/SPARK-38416
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.3.0
>            Reporter: Bjørn Jørgensen
>            Priority: Trivial
>
> In spark\python\pyspark\pandas\tests\indexes\test_datetime.py
> line 117
> {code:java}
>    def test_day_name(self):
>         for psidx, pidx in self.idx_pairs:
>             self.assert_eq(psidx.day_name(), pidx.day_name())
>     def test_month_name(self):
>         for psidx, pidx in self.idx_pairs:
>             self.assert_eq(psidx.day_name(), pidx.day_name())
> {code}
> Both of this functions are doing the same ting. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to