You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2025/02/10 00:20:00 UTC

[jira] [Created] (SPARK-51137) Reeanble pyspark.sql.tests.connect.test_parity_frame_plot_plotly.FramePlotPlotlyParityTests.test_area_plot

Hyukjin Kwon created SPARK-51137:
------------------------------------

             Summary: Reeanble pyspark.sql.tests.connect.test_parity_frame_plot_plotly.FramePlotPlotlyParityTests.test_area_plot
                 Key: SPARK-51137
                 URL: https://issues.apache.org/jira/browse/SPARK-51137
             Project: Spark
          Issue Type: Sub-task
          Components: Connect, Tests
    Affects Versions: 4.0.0
            Reporter: Hyukjin Kwon


{code}
======================================================================
FAIL [0.341s]: test_area_plot (pyspark.sql.tests.connect.test_parity_frame_plot_plotly.FramePlotPlotlyParityTests.test_area_plot)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/pyspark/sql/tests/plot/test_frame_plot_plotly.py", line 265, in test_area_plot
    self._check_fig_data(fig["data"][0], **expected_fig_data)
  File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/pyspark/sql/tests/plot/test_frame_plot_plotly.py", line 81, in _check_fig_data
    self.assertEqual(converted_values, expected_value)
AssertionError: Lists differ: [1517356800000000000, 1519776000000000000,[37 chars]0000] != [datetime.datetime(2018, 1, 31, 0, 0), dat[105 chars], 0)]

First differing element 0:
datetime.datetime(2018, 1, 31, 0, 0)

- [1517356800000000000,
-  1519776000000000000,
-  1522454400000000000,
-  1525046400000000000]
+ [datetime.datetime(2018, 1, 31, 0, 0),
+  datetime.datetime(2018, 2, 28, 0, 0),
+  datetime.datetime(2018, 3, 31, 0, 0),
+  datetime.datetime(2018, 4, 30, 0, 0)]

======================================================================
FAIL [0.040s]: test_pie_plot (pyspark.sql.tests.connect.test_parity_frame_plot_plotly.FramePlotPlotlyParityTests.test_pie_plot)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/pyspark/sql/tests/plot/test_frame_plot_plotly.py", line 318, in test_pie_plot
    self._check_fig_data(fig["data"][0], **expected_fig_data_sales)
  File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/pyspark/sql/tests/plot/test_frame_plot_plotly.py", line 81, in _check_fig_data
    self.assertEqual(converted_values, expected_value)
AssertionError: Lists differ: [1517356800000000000, 1519776000000000000,[37 chars]0000] != [datetime.datetime(2018, 1, 31, 0, 0), dat[105 chars], 0)]

First differing element 0:
datetime.datetime(2018, 1, 31, 0, 0)

- [1517356800000000000,
-  1519776000000000000,
-  1522454400000000000,
-  1525046400000000000]
+ [datetime.datetime(2018, 1, 31, 0, 0),
+  datetime.datetime(2018, 2, 28, 0, 0),
+  datetime.datetime(2018, 3, 31, 0, 0),
+  datetime.datetime(2018, 4, 30, 0, 0)]

----------------------------------------------------------------------
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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