Skip to content

Commit

Permalink
修改错误代码
Browse files Browse the repository at this point in the history
  • Loading branch information
linwt authored Sep 14, 2018
1 parent 0ab53dc commit d5c9a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Imooc_SparkSQL/src/main/scala/main/TopNYarn.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object TopNYarn {
val spark = SparkSession.builder()
.config("spark.sql.sources.partitionColumnTypeInference.enabled", false)
.getOrCreate()
val df = spark.read.format("parquet").load("inputpath")
val df = spark.read.format("parquet").load(inputpath)
df.printSchema()
df.show(false)

Expand Down

0 comments on commit d5c9a98

Please sign in to comment.