Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-823] Use SPARK_VERSION_SHORT instead of SPARK_VERSION to find SparkShims #824

Merged

Conversation

jackylee-ch
Copy link
Contributor

What changes were proposed in this pull request?

We should use SPARK_VERSION_SHORT to find SparkShim, not the SPARK_ERSION. As in use environment, SPARK_VERSION may be changed, the SPARK_VERSION_SHORT won't change.

How was this patch tested?

Origin GA

@github-actions
Copy link

github-actions bot commented Apr 2, 2022

#823

@zhouyuan
Copy link
Collaborator

zhouyuan commented Apr 6, 2022

@PHILO-HE

@PHILO-HE
Copy link
Collaborator

PHILO-HE commented Apr 6, 2022

This change is useful for supporting a spark snapshot version in the future. E.g., for 3.3.0-SNAPSHOT, the short version is 3.3.0.
The patch looks good to me.

@PHILO-HE PHILO-HE changed the title [NSE-823] Use SPARK_VERSION_SHORT instead os SPARK_VERSION to find SparkShims [NSE-823] Use SPARK_VERSION_SHORT instead of SPARK_VERSION to find SparkShims Apr 6, 2022
@zhouyuan zhouyuan merged commit 3761b39 into oap-project:master Apr 6, 2022
@weiting-chen weiting-chen added bug Something isn't working feature and removed feature labels Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants