You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yikun Jiang (Jira)" <ji...@apache.org> on 2022/03/06 08:49:00 UTC
[jira] [Commented] (SPARK-38416) Duplicate functions
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org