You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/10 10:50:37 UTC
[GitHub] [arrow] pitrou commented on a change in pull request #12584: ARROW-15870: [Python] Start to raise deprecation warnings for use_legacy_dataset=True in parquet.read_table
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org