You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/03/07 14:44:00 UTC

[jira] [Commented] (SPARK-38436) Duplicate test_floor functions

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

Apache Spark commented on SPARK-38436:
--------------------------------------

User 'bjornjorgensen' has created a pull request for this issue:
https://github.com/apache/spark/pull/35755

> Duplicate test_floor functions 
> -------------------------------
>
>                 Key: SPARK-38436
>                 URL: https://issues.apache.org/jira/browse/SPARK-38436
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.3.0
>            Reporter: Bjørn Jørgensen
>            Priority: Trivial
>
> In python/pyspark/pandas/tests/test_series_datetime.py line 262 
> {code:java}
>     def test_floor(self):
>         self.check_func(lambda x: x.dt.floor(freq="min"))
>         self.check_func(lambda x: x.dt.floor(freq="H"))
>     def test_ceil(self):
>         self.check_func(lambda x: x.dt.floor(freq="min"))
>         self.check_func(lambda x: x.dt.floor(freq="H"))
> {code}
> Change  x.dt.floor to  x.dt.ceil 



--
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