Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spark example #1713

Merged
merged 4 commits into from
Jul 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/k8s_spark_plugin/k8s_spark_plugin/pyspark_pi.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def print_every_time(value_to_print: float, date_triggered: datetime.datetime) -
# Remember, Spark and non-Spark tasks can be chained together as long as their parameter specifications match.
# %%
@workflow
def my_spark(triggered_date: datetime.datetime = datetime.datetime.now()) -> float:
def my_spark(triggered_date: datetime.datetime = datetime.datetime(2020, 9, 11)) -> float:
"""
Using the workflow is still as any other workflow. As image is a property of the task, the workflow does not care
about how the image is configured.
Expand Down
Loading