FEAT: sparkeks script_uri and entry_point on the SQL wrapper - #143
Merged
Nitin Bhakar (nitinbhakar) merged 7 commits intoSep 8, 2026
Merged
Conversation
Enable CI-published zip bundles and ingest-style single-file submits via parameters.script_uri, with command-level image override and safer Ranger extension merging.
The command image pin is a generic Spark submit option, not a DS-specific path.
Nitin Bhakar (nitinbhakar)
marked this pull request as ready for review
September 4, 2026 07:08
prasadlohakpure
previously approved these changes
Sep 8, 2026
prasadlohakpure
previously approved these changes
Sep 8, 2026
Yash Shrivastava (alephys26)
approved these changes
Sep 8, 2026
Nitin Bhakar (nitinbhakar)
deleted the
feature/sparkeks-pyspark-entrypoint
branch
September 8, 2026 16:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sparkeks can submit a PySpark job on the existing SQL wrapper path. The job names code already on S3; the plugin does not upload
query.sqlfor that case.parameters.script_uri: skip thequery.sqlupload and pass this object through asquery_uri(.py,.zip,.tar.gz, or any other S3 object).parameters.entry_point: on the SQL wrapper, prepended as the next argv after the usualapp query_uri user resultprefix (path inside an archive). JAR jobs still useentry_pointas the main class.imageoverride so a command can pin a Spark image other than the cluster default.spark.sql.extensionsare merged after job properties so they cannot be cleared at submit time.SQL jobs with no
script_uriare unchanged: the plugin still uploadsquery.sql.Job examples
Same sparkeks command as SQL (Python wrapper). The wrapper inspects
query_uri.1. Single file on S3
2. Archive on S3
Test plan
Submitting a python file
Submitting a bundle
Testing exsisting Spark SQL logic
Verifying the output of pyspark table creation
go test ./internal/pkg/object/command/sparkeks/....pyviaparameters.script_uri(noquery.sqlupload)tar.gzviascript_uri+entry_pointscript_uristill uploadquery.sql