You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/04/28 13:10:00 UTC
[jira] [Resolved] (ARROW-12407) [Python] Deprecation warning when
building PyArrow
[ https://issues.apache.org/jira/browse/ARROW-12407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche resolved ARROW-12407.
-------------------------------------------
Resolution: Fixed
Issue resolved by pull request 10062
[https://github.com/apache/arrow/pull/10062]
> [Python] Deprecation warning when building PyArrow
> --------------------------------------------------
>
> Key: ARROW-12407
> URL: https://issues.apache.org/jira/browse/ARROW-12407
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Antoine Pitrou
> Assignee: David Li
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> {code}
> /home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.7/_dataset.cpp:40723:115: warning: 'Scan' is deprecated: Deprecated in 4.0.0 for removal in 5.0.0. Use ScanBatches(). [-Wdeprecated-declarations]
> __pyx_t_1 = arrow::py::GetResultValue<arrow::dataset::ScanTaskIterator>(__pyx_cur_scope->__pyx_v_self->scanner->Scan()); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2817, __pyx_L1_error)
> ^
> /home/antoine/miniconda3/envs/pyarrow/include/arrow/dataset/scanner.h:259:3: note: 'Scan' has been explicitly marked deprecated here
> ARROW_DEPRECATED("Deprecated in 4.0.0 for removal in 5.0.0. Use ScanBatches().")
> ^
> /home/antoine/miniconda3/envs/pyarrow/include/arrow/util/macros.h:107:48: note: expanded from macro 'ARROW_DEPRECATED'
> # define ARROW_DEPRECATED(...) __attribute__((deprecated(__VA_ARGS__)))
> ^
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)