AlenkaF commented on code in PR #45849:
URL: https://github.com/apache/arrow/pull/45849#discussion_r2012248333
##########
python/pyarrow/tests/parquet/test_pandas.py:
##########
@@ -269,18 +268,6 @@ def test_pandas_parquet_configuration_options(tempdir):
tm.assert_frame_equal(df, df_read)
[email protected]
[email protected]("ignore:Parquet format '2.0':FutureWarning")
-def test_spark_flavor_preserves_pandas_metadata():
- df = _test_dataframe(size=100)
- df.index = np.arange(0, 10 * len(df), 10)
- df.index.name = 'foo'
-
- result = _roundtrip_pandas_dataframe(df, {'version': '2.0',
- 'flavor': 'spark'})
Review Comment:
You are right, this and the bellow test should pass for newer writer
versions and they do. I will remove 'version' arg altogether as we should
probably be testing this on the default version of the writer.
Thanks for the check!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]