-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-37893: [Java] Move Types.proto in a subfolder #37894
Conversation
Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project. Move Types.proto into gandiva/types.proto (also matching convention of using lowercase filename) so that it become less likely to cause a conflict.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but CI is failing
Fix cmakefile line length issue
Fix types.pb.h protobuf include directives
Looks like I missed a couple of things (I was trying to go directly to PR since I had some build environment issues on my new laptop). Moving to draft and solving things locally first so that reviewers do not waste too much time. |
Fix gandiva protobuf namespacing
I believe this PR is ready for review again |
### Rationale for this change Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project. ### What changes are included in this PR? Move `Types.proto` into `gandiva/types.proto` (also matching convention of using lowercase filename) so that it become less likely to cause a conflict. ### Are these changes tested? Change should have no impact on the feature itself. Manually check the resulting jar to confirm that `types.proto` is not located at the root of the archive. ### Are there any user-facing changes? No user-facing. Developers who were actually referencing Gandiva `Types.proto` in their project may have to change their `import` directive. **This PR includes breaking changes to public APIs.** * Closes: apache#37893 Authored-by: Laurent Goujon <[email protected]> Signed-off-by: David Li <[email protected]>
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 019d06d. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
### Rationale for this change Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project. ### What changes are included in this PR? Move `Types.proto` into `gandiva/types.proto` (also matching convention of using lowercase filename) so that it become less likely to cause a conflict. ### Are these changes tested? Change should have no impact on the feature itself. Manually check the resulting jar to confirm that `types.proto` is not located at the root of the archive. ### Are there any user-facing changes? No user-facing. Developers who were actually referencing Gandiva `Types.proto` in their project may have to change their `import` directive. **This PR includes breaking changes to public APIs.** * Closes: apache#37893 Authored-by: Laurent Goujon <[email protected]> Signed-off-by: David Li <[email protected]>
### Rationale for this change Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project. ### What changes are included in this PR? Move `Types.proto` into `gandiva/types.proto` (also matching convention of using lowercase filename) so that it become less likely to cause a conflict. ### Are these changes tested? Change should have no impact on the feature itself. Manually check the resulting jar to confirm that `types.proto` is not located at the root of the archive. ### Are there any user-facing changes? No user-facing. Developers who were actually referencing Gandiva `Types.proto` in their project may have to change their `import` directive. **This PR includes breaking changes to public APIs.** * Closes: apache#37893 Authored-by: Laurent Goujon <[email protected]> Signed-off-by: David Li <[email protected]>
### Rationale for this change Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project. ### What changes are included in this PR? Move `Types.proto` into `gandiva/types.proto` (also matching convention of using lowercase filename) so that it become less likely to cause a conflict. ### Are these changes tested? Change should have no impact on the feature itself. Manually check the resulting jar to confirm that `types.proto` is not located at the root of the archive. ### Are there any user-facing changes? No user-facing. Developers who were actually referencing Gandiva `Types.proto` in their project may have to change their `import` directive. **This PR includes breaking changes to public APIs.** * Closes: apache#37893 Authored-by: Laurent Goujon <[email protected]> Signed-off-by: David Li <[email protected]>
### Rationale for this change Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project. ### What changes are included in this PR? Move `Types.proto` into `gandiva/types.proto` (also matching convention of using lowercase filename) so that it become less likely to cause a conflict. ### Are these changes tested? Change should have no impact on the feature itself. Manually check the resulting jar to confirm that `types.proto` is not located at the root of the archive. ### Are there any user-facing changes? No user-facing. Developers who were actually referencing Gandiva `Types.proto` in their project may have to change their `import` directive. **This PR includes breaking changes to public APIs.** * Closes: apache#37893 Authored-by: Laurent Goujon <[email protected]> Signed-off-by: David Li <[email protected]>
Rationale for this change
Types.proto is a Gandiva protobuf definition used by Gandiva to exchange data between Java and C++. This file is packaged automatically within arrow-gandiva jar but because of its generic name, it may cause conflicts in others' people project.
What changes are included in this PR?
Move
Types.proto
intogandiva/types.proto
(also matching convention of using lowercase filename) so that it become less likely to cause a conflict.Are these changes tested?
Change should have no impact on the feature itself. Manually check the resulting jar to confirm that
types.proto
is not located at the root of the archive.Are there any user-facing changes?
No user-facing. Developers who were actually referencing Gandiva
Types.proto
in their project may have to change theirimport
directive.This PR includes breaking changes to public APIs.