|
@@ -177,6 +177,10 @@ case class CompanyIndexJob(s: SparkSession,
|
|
|
| SELECT DISTINCT company_id
|
|
|
| FROM winhc_ng.inc_${org_prefix}_company_app_info
|
|
|
| WHERE ds > '$target_ds'
|
|
|
+ | UNION ALL
|
|
|
+ | SELECT DISTINCT company_id
|
|
|
+ | FROM winhc_ng.inc_${org_prefix}_company_finance
|
|
|
+ | WHERE ds > '$target_ds'
|
|
|
| )
|
|
|
|""".stripMargin)
|
|
|
.cache()
|