Skip to content

Commit f0fa384

Browse files
authored
Update UkMakerSpaces.scala
1 parent 4a414c4 commit f0fa384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/com/sparkTutorial/sparkSql/join/UkMakerSpaces.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object UkMakerSpaces {
1717
.withColumn("PostCode", functions.concat_ws("", functions.col("PostCode"), functions.lit(" ")))
1818

1919
System.out.println("=== Print 20 records of makerspace table ===")
20-
makerSpace.show()
20+
makerSpace.select("Name of makerspace", "Postcode").show()
2121

2222
System.out.println("=== Print 20 records of postcode table ===")
2323
postCode.show()
@@ -27,4 +27,4 @@ object UkMakerSpaces {
2727
System.out.println("=== Group by Region ===")
2828
joined.groupBy("Region").count().show(200)
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)