HyukjinKwon commented on code in PR #42392:
URL: https://github.com/apache/spark/pull/42392#discussion_r1299469771


##########
python/pyspark/pandas/tests/test_resample.py:
##########
@@ -252,14 +254,32 @@ def test_dataframe_resample(self):
         self._test_resample(self.pdf5, self.psdf5, ["55MIN", "2H", "D"], 
"left", "left", "std")
         self._test_resample(self.pdf6, self.psdf6, ["29S", "10MIN", "3H"], 
"left", "right", "var")
 
-    def test_series_resample(self):
+    def check_series_resample(self):
         self._test_resample(self.pdf1.A, self.psdf1.A, ["4Y"], "right", None, 
"min")
         self._test_resample(self.pdf2.A, self.psdf2.A, ["13M"], "right", 
"left", "max")
         self._test_resample(self.pdf3.A, self.psdf3.A, ["1001H"], "right", 
"right", "sum")
         self._test_resample(self.pdf4.A, self.psdf4.A, ["6D"], None, None, 
"mean")
         self._test_resample(self.pdf5.A, self.psdf5.A, ["47T"], "left", 
"left", "var")
         self._test_resample(self.pdf6.A, self.psdf6.A, ["111S"], "right", 
"right", "std")
 
+    def test_series_resample(self):
+        self.check_series_resample()

Review Comment:
   Yeah ... this PR enables `spark.sql.timestampType=TIMESTAMP_NTZ` as a 
workaround for now ..
   To fix this, we need a bigger scope of change .. and can be arguable in a 
way.



-- 
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-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to