You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/05/10 09:38:15 UTC
[arrow] branch master updated: ARROW-2564: [C++] Replace deprecated method in documentation
This is an automated email from the ASF dual-hosted git repository.
uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new a0299bf ARROW-2564: [C++] Replace deprecated method in documentation
a0299bf is described below
commit a0299bfd71b91ac1c08ec39383ccafbd24bd1b75
Author: Kendall Willets <ke...@willets.org>
AuthorDate: Thu May 10 11:38:08 2018 +0200
ARROW-2564: [C++] Replace deprecated method in documentation
Tutorial update to keep working code.
https://issues.apache.org/jira/browse/ARROW-2564
Author: Kendall Willets <ke...@willets.org>
Closes #2020 from KWillets/master and squashes the following commits:
e6da7f1f <Kendall Willets> fit coding style (?)
e173ae43 <Kendall Willets> remove deprecated method
---
cpp/apidoc/tutorials/row_wise_conversion.md | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cpp/apidoc/tutorials/row_wise_conversion.md b/cpp/apidoc/tutorials/row_wise_conversion.md
index 5d61eca..750a923 100644
--- a/cpp/apidoc/tutorials/row_wise_conversion.md
+++ b/cpp/apidoc/tutorials/row_wise_conversion.md
@@ -107,9 +107,8 @@ std::vector<std::shared_ptr<arrow::Field>> schema_vector = {
};
auto schema = std::make_shared<arrow::Schema>(schema_vector);
-std::shared_ptr<arrow::Table> table;
-ARROW_RETURN_NOT_OK(MakeTable(schema,
- {id_array, cost_array, cost_components_array}, &table));
+std::shared_ptr<arrow::Table> table = arrow::Table::Make(schema,
+ {id_array, cost_array, cost_components_array});
```
The final `table` variable is the one we then can pass on to other functions
--
To stop receiving notification emails like this one, please contact
uwe@apache.org.