[ https://issues.apache.org/jira/browse/SPARK-38436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-38436: ---------------------------------- Summary: Fix `test_ceil` to test `ceil` (was: Duplicate test_floor functions ) > Fix `test_ceil` to test `ceil` > ------------------------------ > > 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 > Assignee: Bjørn Jørgensen > Priority: Trivial > Fix For: 3.3.0, 3.2.2 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org