You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/04/15 14:47:00 UTC

[jira] [Created] (ARROW-12407) [Python] Deprecation warning when building PyArrow

Antoine Pitrou created ARROW-12407:
--------------------------------------

             Summary: [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


{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)