[
https://issues.apache.org/jira/browse/ARROW-13008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-13008.
------------------------------
Fix Version/s: 5.0.0
Resolution: Fixed
Issue resolved by pull request 10481
[https://github.com/apache/arrow/pull/10481]
> [C++] Deprecation warning when compiling minimal example
> --------------------------------------------------------
>
> Key: ARROW-13008
> URL: https://issues.apache.org/jira/browse/ARROW-13008
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Developer Tools
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code}
> /io/example.cc: In function 'arrow::Status {anonymous}::RunMain(int, char**)':
> /io/example.cc:46:75: warning: 'static
> arrow::Result<std::shared_ptr<arrow::csv::TableReader> >
> arrow::csv::TableReader::Make(arrow::MemoryPool*, arrow::io::IOContext,
> std::shared_ptr<arrow::io::InputStream>, const arrow::csv::ReadOptions&,
> const arrow::csv::ParseOptions&, const arrow::csv::ConvertOptions&)' is
> deprecated: Use MemoryPool-less variant (the IOContext holds a pool already)
> [-Wdeprecated-declarations]
> 46 |
> arrow::csv::ConvertOptions::Defaults()));
> |
> ^
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)