pitrou commented on a change in pull request #12584:
URL: https://github.com/apache/arrow/pull/12584#discussion_r823591435
##########
File path: python/pyarrow/parquet.py
##########
@@ -2006,6 +2007,12 @@ def read_table(source, columns=None, use_threads=True,
metadata=None,
return dataset.read(columns=columns, use_threads=use_threads,
use_pandas_metadata=use_pandas_metadata)
+ warnings.warn(
+ "Passing 'use_legacy_dataset=True' to get the legacy behaviour is "
+ "deprecated as of pyarrow 8.0.0, and the legacy implementation will "
+ "be removed in a future version.",
+ DeprecationWarning, stacklevel=2)
Review comment:
Do we want to use DeprecationWarning or FutureWarning?
--
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]