[KYUUBI #6757] Pass build args to extra spark engine build command

# 🔍 Description
## Issue References 🔗

This pull request fixes #

## Describe Your Solution 🔧

Pass build args to extra spark engine build command

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklist 📝

- [X] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6757 from wForget/minor2.

Closes #6757

5b373d2fa [wforget] Pass build args to extra spark engine build command

Authored-by: wforget <643348094@qq.com>
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
This commit is contained in:
wforget 2024-10-21 10:02:54 +08:00 committed by Bowen Liang
parent 0feacf1776
commit 13c84136f6

View File

@ -256,6 +256,8 @@ for arg in "$@"; do
FILTERED_ARGS+=("${arg//scala-2.12/scala-2.13}")
elif [[ $arg == *scala-2.13* ]]; then
FILTERED_ARGS+=("${arg//scala-2.13/scala-2.12}")
else
FILTERED_ARGS+=("$arg")
fi
done