Skip to content

Commit

Permalink
fix pyspark logic
Browse files Browse the repository at this point in the history
  • Loading branch information
uche-madu committed Oct 19, 2023
1 parent ef3d64e commit 0fdf348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyspark-scripts/gcs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def load_files_from_gcs(
# Load data from GCS
df = (spark.read.format(file_format)
.options(**(read_options or {}))
.load(f"gs://{bucket_name}/{file}"))
.load(f"gs://{file}"))

dataframes.append(df)

Expand Down

0 comments on commit 0fdf348

Please sign in to comment.