Skip to content

Conversation

@gengliangwang
Copy link
Member

What changes were proposed in this pull request?

Unify the Protobuf versions in Spark connect and Protobuf connector.

Why are the changes needed?

The Protobuf dependencies will have the same behavior. And future upgrades will be easier.

Does this PR introduce any user-facing change?

No

How was this patch tested?

GA tests

@cloud-fan
Copy link
Contributor

cloud-fan commented Nov 24, 2022

shall we also shade protobuf in Spark Core in this PR? Then the proto version is unified in all the places.

Co-authored-by: Wenchen Fan <[email protected]>
@gengliangwang
Copy link
Member Author

shall we also shade protobuf in Spark Core in this PR? Then the proto version is unified in all the places.

In this PR there is no actual usage. I would prefer to shade it in #38779

Copy link
Contributor

@zhengruifeng zhengruifeng left a comment

Choose a reason for hiding this comment

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

lgtm, also cc @HyukjinKwon @grundprinzip

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

+1, LGTM

@gengliangwang
Copy link
Member Author

Merging to master

@amaliujia
Copy link
Contributor

Now the protobuf version is unified for the scala side (or a few module of the scala side).

But it is still different from the Python side (at least Connect Python client): #38774

cc @grundprinzip @cloud-fan @HyukjinKwon

HyukjinKwon pushed a commit that referenced this pull request Dec 6, 2022
…uf version

### What changes were proposed in this pull request?
#38783 unify the Protobuf versions in Spark connect and Protobuf connector to `3.21.9` for maven, but sbt build and test still use `3.21.1`, so this pr make sbt also use Protobuf 3.21.9 to build and test.

### Why are the changes needed?
Make sbt and maven use the same Protobuf version for build and test

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions

Closes #38926 from LuciferYang/SPARK-41247-FOLLOWUP.

Authored-by: yangjie01 <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
beliefer pushed a commit to beliefer/spark that referenced this pull request Dec 15, 2022
… Protobuf connector

### What changes were proposed in this pull request?

Unify the Protobuf versions in Spark connect and Protobuf connector.

### Why are the changes needed?

The Protobuf dependencies will have the same behavior. And future upgrades will be easier.

### Does this PR introduce _any_ user-facing change?

No
### How was this patch tested?

GA tests

Closes apache#38783 from gengliangwang/unifyProtobufVersion.

Lead-authored-by: Gengliang Wang <[email protected]>
Co-authored-by: Gengliang Wang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
beliefer pushed a commit to beliefer/spark that referenced this pull request Dec 18, 2022
… Protobuf connector

### What changes were proposed in this pull request?

Unify the Protobuf versions in Spark connect and Protobuf connector.

### Why are the changes needed?

The Protobuf dependencies will have the same behavior. And future upgrades will be easier.

### Does this PR introduce _any_ user-facing change?

No
### How was this patch tested?

GA tests

Closes apache#38783 from gengliangwang/unifyProtobufVersion.

Lead-authored-by: Gengliang Wang <[email protected]>
Co-authored-by: Gengliang Wang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
beliefer pushed a commit to beliefer/spark that referenced this pull request Dec 18, 2022
…uf version

### What changes were proposed in this pull request?
apache#38783 unify the Protobuf versions in Spark connect and Protobuf connector to `3.21.9` for maven, but sbt build and test still use `3.21.1`, so this pr make sbt also use Protobuf 3.21.9 to build and test.

### Why are the changes needed?
Make sbt and maven use the same Protobuf version for build and test

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions

Closes apache#38926 from LuciferYang/SPARK-41247-FOLLOWUP.

Authored-by: yangjie01 <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
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.

7 participants