Skip to content

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

Merged
empiredan merged 3 commits into
apache:masterfrom
shalk:add-thrift-plugin
Jun 27, 2024
Merged

empiredan merged 3 commits into
apache:masterfrom
shalk:add-thrift-plugin

Conversation

@shalk

@shalk shalk commented Apr 30, 2024

Copy link
Copy Markdown
Collaborator

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
Comment thread java-client/pom.xml Resolved
@@ -48,21 +48,4 @@ if ! $thrift -version | grep "0.11.0" ; then
exit 1
fi

TMP_DIR=./gen-java

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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