1
正則表達式我有以下語句:如何解決警告字段名不匹配,斯卡拉
val summarizationList = Map(4 -> "Monthly", 3 -> "Weekly", 2 -> "Daily", 1 -> "Hourly")
val Type: Int = summarizationList.find(_._2 == lastSummarizationDate._1._1).get._1
val SummarizedDate = (lastSummarizedDate.toList.sortBy(_._2) ++ Map("End" -> end)).sliding(2)
.map(a => (a(0), a(1))).toList
在過去的兩個語句正在逐漸「字段名稱不匹配正則表達式「^ [AZ] [ A-ZA-Z0-9] * $'「
如何解決以下警告?
什麼是'lastSummarizationDate'和'lastSummarizedDate'? –