[
https://issues.apache.org/jira/browse/ARROW-12407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17322271#comment-17322271
]
Antoine Pitrou commented on ARROW-12407:
----------------------------------------
Ah, it's ok then, nevermind.
> [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
> Fix For: 5.0.0
>
>
> {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)