Read GCS(Scala)

Loading...
val df = spark.read.format("parquet").load("gs://test-gcs-doc-bucket/deparment_info")
df: org.apache.spark.sql.DataFrame = [Age: int, Name: string]
display(df)
 
Age
Name
1
2
3
4
5
21
Andrew
35
Adam
24
Jonas
28
Anna
26
Joe

Showing all 5 rows.