Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-44062: [Dev][Archery][Integration] Reduce needless test matr…
…ix (apache#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-languages` option. We can specify target languages by this. Here are expected usages: In apache/arrow: * `--target-languages=cpp,csharp,go,java,js` In apache/arrow-rs * `--target-languages=rust` Here is an example in apache/arrow-rs: 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-languages` 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. * GitHub Issue: apache#44062 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information