Skip to content

Commit

Permalink
feat(docs): add full examples for spark tasks (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutimantri authored Sep 7, 2024
1 parent 2692299 commit 0aadd78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/spark/JarSubmit.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
full = true,
code = """
id: spark_jar_submit
namespace: company.name
namespace: company.team
inputs:
- id: file
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/spark/PythonSubmit.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
full = true,
code = """
id: spark_python_submit
namespace: company.name
namespace: company.team
tasks:
- id: python_submit
Expand All @@ -45,7 +45,7 @@
user: root
master: spark://localhost:7077
args:
- "10"
- "10"
mainScript: |
import sys
from random import random
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/spark/RSubmit.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
full = true,
code = """
id: spark_r_submit
namespace: company.name
namespace: company.team
tasks:
- id: r_submit
Expand Down

0 comments on commit 0aadd78

Please # to comment.