Skip to content

Add an ability to run spark applications#26

Merged
babourine merged 7 commits intomainfrom
stan_spark_args
Jul 22, 2025
Merged

Add an ability to run spark applications#26
babourine merged 7 commits intomainfrom
stan_spark_args

Conversation

@hladush
Copy link
Contributor

@hladush hladush commented Jul 21, 2025

This PR adds an ability to run spark applications

  • Update parameters
  • Update documentation

Tested on EMR
image

Copilot AI review requested due to automatic review settings July 21, 2025 23:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds the ability to run Spark applications using JAR files in addition to the existing SQL query functionality. The changes extend the Spark plugin to support custom entry points and arguments for executing Spark applications.

Key changes:

  • Extended job context to support JAR-based Spark applications with entry points and custom arguments
  • Updated parameter generation to include Spark class configuration for JAR execution
  • Enhanced documentation with usage examples for both SQL and JAR-based workflows

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
plugins/spark/README.md Added documentation and examples for JAR-based Spark applications with entry points and arguments
internal/pkg/object/command/spark/spark.go Extended job context struct and logic to support JAR execution with entry points and custom arguments

@hladush hladush force-pushed the stan_spark_args branch 3 times, most recently from 17b41cd to c43e0b1 Compare July 21, 2025 23:13
@hladush hladush requested a review from babourine July 22, 2025 15:00
@babourine babourine merged commit e7b7840 into main Jul 22, 2025
5 checks passed
@babourine babourine deleted the stan_spark_args branch July 22, 2025 17:57
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.

3 participants