Skip to content

Commit

Permalink
use V2 instead
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Sep 21, 2024
1 parent a94aa97 commit d3876ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import flytekit
from flytekit import Resources, task, workflow
from flytekitplugins.spark import Databricks
from flytekitplugins.spark import DatabricksV2


# %% [markdown]
Expand All @@ -20,7 +20,7 @@
# [Databricks job request](https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure) documentation.
# %%
@task(
task_config=Databricks(
task_config=DatabricksV2(
spark_conf={
"spark.driver.memory": "1000M",
"spark.executor.memory": "1000M",
Expand Down

0 comments on commit d3876ee

Please sign in to comment.