Commit 62c7e6f7 authored by 王志伟's avatar 王志伟

搜索关键词统计bug修复

parent 541bb858
......@@ -114,8 +114,8 @@ object Search_keywords_count {
}
object test {
def test_udf(param: String) = {
val b = JSON.parseFull(param)
def test_udf(param:Map[String,String]) = {
val b = JSON.parseFull(param.toString())
b match {
// Matches if jsonStr is valid JSON and represents a Map of Strings to Any
case Some(map: Map[String, Any]) => param
......
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