Skip to content

Commit

Permalink
Update SparkHook configuration loading line on docs. (#4194)
Browse files Browse the repository at this point in the history
* Alter spark config load line on docs

Signed-off-by: Laura Couto <[email protected]>

* Rerun docs build

Signed-off-by: Laura Couto <[email protected]>

---------

Signed-off-by: Laura Couto <[email protected]>
  • Loading branch information
lrcouto authored Sep 26, 2024
1 parent d0ac061 commit f1d3751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/integrations/pyspark_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SparkHooks:
"""

# Load the spark configuration in spark.yaml using the config loader
parameters = context.config_loader.get("spark*", "spark*/**")
parameters = context.config_loader["spark"]
spark_conf = SparkConf().setAll(parameters.items())

# Initialise the spark session
Expand Down

0 comments on commit f1d3751

Please sign in to comment.