Skip to content

Commit

Permalink
add: raw
Browse files Browse the repository at this point in the history
  • Loading branch information
Haeun-Oh committed Oct 7, 2023
1 parent ccb985a commit aa51d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/upload_parquet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# %%
df = spark.read.format("csv").load("s3a://data/", header=True) # noqa: F821
df = spark.read.format("csv").load("s3a://data/raw", header=True) # noqa: F821

df.write.mode("overwrite").option("compression", "snappy").parquet("s3a://data/lake/spark_df.parquet")

0 comments on commit aa51d5b

Please sign in to comment.