apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.63k stars 3.56k forks source link

[C++][CI] example-cpp-tutorial fails because of deprecated APIs #44802

Closed pitrou closed 4 hours ago

pitrou commented 20 hours ago

Describe the bug, including details regarding any error messages, version, and platform.

The example-cpp-tutorial Crossbow night build now fails because it's using some deprecated APIs. https://github.com/ursacomputing/crossbow/actions/runs/11944262092/job/33294899404

It should certainly be easy to migrate the tested example(s) to non-deprecated APIs, and is therefore a good task for someone wanting to start on Arrow C++ development (or even perhaps general C++ development).

Component(s)

C++, Continuous Integration

pitrou commented 20 hours ago

@raulcd @assignUser

malinjawi commented 19 hours ago

hey @pitrou I am new to arrow. Will try to check this issue out. Look forward to learning about this project and getting a fix in for this.

pitrou commented 19 hours ago

@malinjawi So, if you look at the link I gave you above (the "Run" step in the failing CI run), you can easily reproduce the error locally if you have the Docker client installed, and run these commands:

$ cd arrow/cpp/examples/tutorial_examples
$ docker compose run --rm tutorial
raulcd commented 19 hours ago

@malinjawi btw this was the PR that introduced the change that has to be updated on the tutorial examples:

malinjawi commented 11 hours ago

hey @raulcd and @pitrou thanks for your help on this issue. I am very happy to raise my first PR to this project please if you can review and let me know if I missed something to fix this issue.

kou commented 10 hours ago

Oh, sorry.

I should have updated the file too...

kou commented 4 hours ago

Issue resolved by pull request 44807 https://github.com/apache/arrow/pull/44807