Commit 403e0524 authored by 高雅喆's avatar 高雅喆

bug fix

parent 53c0bf7d
...@@ -60,7 +60,7 @@ object EsmmData { ...@@ -60,7 +60,7 @@ object EsmmData {
val max_stat_date = sc.sql( val max_stat_date = sc.sql(
s""" s"""
|select max(stat_date) from esmm_train_data |select max(stat_date) from esmm_train_test
""".stripMargin """.stripMargin
) )
val max_stat_date_str = max_stat_date.collect().map(s => s(0).toString).head val max_stat_date_str = max_stat_date.collect().map(s => s(0).toString).head
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment