Commit a1f1829e authored by Pengfei Xue's avatar Pengfei Xue

fix syntax

parent cdb2e62e
...@@ -41,7 +41,7 @@ object pvCheker { ...@@ -41,7 +41,7 @@ object pvCheker {
val df = sc.sql(s""" val df = sc.sql(s"""
select select
cl_id, action, cl_type, app_version, cl_id, action, cl_type, app_version,
case when params['page_name'] is null then 'NULL' else params['page_name'], case when params['page_name'] is null then 'NULL' else params['page_name'] end as page_name,
case when params['extra_param'] is null then 0 else 1 end as extra, case when params['extra_param'] is null then 0 else 1 end as extra,
case case
when params['referrer'] is null then -1 when params['referrer'] is null then -1
......
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