Skip to content

Commit

Permalink
spark connect attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowers committed Feb 10, 2024
1 parent cab663e commit a3ef4a2
Show file tree
Hide file tree
Showing 6 changed files with 891 additions and 871 deletions.
1 change: 1 addition & 0 deletions benchmarks/create_benchmark_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def save_benchmark_df(

builder = (
SparkSession.builder.appName("MyApp")
.remote("sc://localhost")
.config("spark.executor.memory", "20G")
.config("spark.driver.memory", "25G")
.config("spark.sql.shuffle.partitions", "2")
Expand Down
1 change: 1 addition & 0 deletions benchmarks/visualize_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def get_benchmark_date(benchmark_path: str) -> str:
if __name__ == "__main__":
spark = (
SparkSession.builder.appName("MyApp") # type: ignore # noqa: PGH003
.remote("sc://localhost")
.config("spark.executor.memory", "10G")
.config("spark.driver.memory", "25G")
.config("spark.sql.shuffle.partitions", "2")
Expand Down
Loading

0 comments on commit a3ef4a2

Please sign in to comment.