|
@@ -55,9 +55,9 @@ case class inc_company_ng(s: SparkSession,
|
|
|
|
|
|
def inc(): Unit = {
|
|
|
val inc_ods_ds = getLastPartitionsOrElse(inc_ods_tab, getLastPartitionsOrElse(ods_tab, null))
|
|
|
- var ads_ds = getLastPartitionsOrElse(ads_tab, null)
|
|
|
+ var ads_ds = getLastPartitionsOrElse(inc_ads_tab, null)
|
|
|
if (inc_ods_ds.equals(ads_ds)) {
|
|
|
- ads_ds = getSecondLastPartitionOrElse(ads_tab, null)
|
|
|
+ ads_ds = getSecondLastPartitionOrElse(inc_ads_tab, null)
|
|
|
if (ads_ds == null) {
|
|
|
all()
|
|
|
return
|