kou opened a new pull request, #44099:
URL: https://github.com/apache/arrow/pull/44099
### Rationale for this change
If we enable C++, Java and Rust, we use the following patterns:
| Producer | Consumer |
|----------|----------|
| C++ | C++ |
| C++ | Java |
| C++ | Rust |
| Java | C++ |
| Java | Java |
| Java | Rust |
| Rust | C++ |
| Rust | Java |
| Rust | Rust |
In apache/arrow, the following patterns are redundant because they should be
done in apache/arrow-rs:
| Producer | Consumer |
|----------|----------|
| Rust | Rust |
In apache/arror-rs, the following patterns are redundant because they should
be done in apache/arrow:
| Producer | Consumer |
|----------|----------|
| C++ | C++ |
| C++ | Java |
| Java | C++ |
| Java | Java |
### What changes are included in this PR?
Add `--target-language` option. We can specify target languages by this. (We
can specify `--target-language` multiple times.) Here are expected usages:
In apache/arrow:
* `--target-language=cpp`
* `--target-language=csharp`
* `--target-language=go`
* `--target-language=java`
* `--target-language=js`
In apache/arrow-rs
* `--target-language=rust`
Here is an example in apache/arrow-rs:
T: Languages specified by `--target-language`
* rust O: Languages not specified by `--target-language`
* cpp
* csharp
* go
* java
* js
* nanoarrow
Used matrix:
| Producer | Consumer |
|----------|----------|
| Rust | Rust |
| Rust | C++ |
| Rust | C# |
| Rust | Go |
| Rust | Java |
| Rust | JS |
| Rust | nanoarrow|
| C++ | Rust |
| C# | Rust |
| Go | Rust |
| Java | Rust |
| JS | Rust |
| nanoarrow| Rust |
If no `--target-language` is specified, all enabled languages are the target
languages. (The same as the current behavior.)
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]