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

[#1530] feat(spark-connector): support specifying scala version to build and test Gravitino #2131

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

FANNG1
Copy link
Contributor

@FANNG1 FANNG1 commented Feb 7, 2024

What changes were proposed in this pull request?

support specify scala versions, by two methods:

  1. gradle build -PscalaVersion=xx
  2. set defaultScalaVersion in gradle.properties

method2 will be overwrite by method1 if both existing, and supports scala 2.12 for now.

Why are the changes needed?

spark hive connector just supports scala 2.12

Does this PR introduce any user-facing change? no

How was this patch tested?

existing UTs

… to build and test Gravitino (apache#1582)

### What changes were proposed in this pull request?
support specify scala versions, by two methods:
1. `gradle build -PscalaVersion=xx`
2. set `defaultScalaVersion` in gradle.properties

method2 will be overwrite  by method1 if both existing, 
and supports scala 2.12 for now.

### Why are the changes needed?
spark hive connector just supports scala 2.12

Fix: apache#1530 

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

### How was this patch tested?
existing UTs
@FANNG1 FANNG1 changed the title [#1530] feat(spark-connector): cherry-pick support specifying scala version to build and test Gravitino [#1530] feat(spark-connector): support specifying scala version to build and test Gravitino Feb 7, 2024
@FANNG1
Copy link
Contributor Author

FANNG1 commented Feb 7, 2024

@jerryshao , I plan to merge it if you don't oppose

@FANNG1 FANNG1 merged commit 3c6ac6d into apache:main Feb 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants