|
@@ -66,7 +66,7 @@ object inc_company_equity_info {
|
|
|
| ,t1.update_time
|
|
|
| ,t1.deleted
|
|
|
| from (
|
|
|
- |SELECT md5(cleanup(CONCAT_WS('',${dedup.map("tmp." + _)}))) as id
|
|
|
+ |SELECT md5(cleanup(CONCAT_WS('',${dedup.map("tmp." + _).mkString(",")}))) as id
|
|
|
| ,tmp.cid
|
|
|
| ,null as cname
|
|
|
| ,tmp.base
|
|
@@ -91,7 +91,7 @@ object inc_company_equity_info {
|
|
|
| ,tmp.deleted
|
|
|
|FROM (
|
|
|
| SELECT a.*
|
|
|
- | ,row_number() OVER (PARTITION BY cleanup(CONCAT_WS('',${dedup.map("a." + _)})) ORDER BY update_time DESC) c
|
|
|
+ | ,row_number() OVER (PARTITION BY cleanup(CONCAT_WS('',${dedup.map("a." + _).mkString(",")})) ORDER BY update_time DESC) c
|
|
|
| FROM (
|
|
|
| SELECT *
|
|
|
| FROM winhc_eci_dev.inc_ods_company_equity_info
|