Created
December 23, 2021 23:12
-
-
Save 1ambda/abf9f7345cf29b1de6c6cc255f7193e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 디렉토리 내의 분할된 모든 JSON 파일을 다 읽습니다. | |
dfListingJson = spark.read.format("json").load("./airbnb_listings") | |
dfListingJson.count() | |
dfListingJson.rdd.getNumPartitions() | |
dfListingJson.printSchema(truncate=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment