Skip to content
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

feat(java-client): add maven-thrift-plugin #1997

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

shalk
Copy link
Collaborator

@shalk shalk commented Apr 30, 2024

What problem does this PR solve?

fix #1664

ref: https://issues.apache.org/jira/browse/THRIFT-1536
ref: apache/parquet-java#600

What is changed and how does it work?

Checklist

Tests
  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code
Code changes
  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change
Side effects
  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility
Related changes
  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to be included in the release note

@shalk shalk changed the title add maven-thrift-plugin feat(java-client):add maven-thrift-plugin Apr 30, 2024
@shalk shalk force-pushed the add-thrift-plugin branch from ad4711f to 0e121c9 Compare April 30, 2024 08:08
@shalk shalk changed the title feat(java-client):add maven-thrift-plugin feat(java-client): add maven-thrift-plugin Apr 30, 2024
@github-actions github-actions bot added the github label May 7, 2024
java-client/pom.xml Outdated Show resolved Hide resolved
@@ -48,21 +48,4 @@ if ! $thrift -version | grep "0.11.0" ; then
exit 1
fi

TMP_DIR=./gen-java
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems thrift will not be used any where in java-client, can we remove this file entirely?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thrift will be used when mvn compile or mvn test. If i remove the file , if i remove the file https://github.com/apache/incubator-pegasus/blob/master/.github/workflows/test_python-client.yml#L68 will be add in to github action

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's keep it in current step. We can do that in next patches.

@@ -48,21 +48,4 @@ if ! $thrift -version | grep "0.11.0" ; then
exit 1
fi

TMP_DIR=./gen-java
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's keep it in current step. We can do that in next patches.

@empiredan empiredan merged commit 596603c into apache:master Jun 27, 2024
13 checks passed
@shalk shalk deleted the add-thrift-plugin branch June 28, 2024 08:04
ruojieranyishen pushed a commit to ruojieranyishen/incubator-pegasus that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use thrift-maven-plugin to generate thrift sources instead of script
3 participants