|
@@ -25,7 +25,7 @@ case class deadbeat_info(s: SparkSession,
|
|
|
|
|
|
private val filter_ele = Seq(
|
|
private val filter_ele = Seq(
|
|
"company_dishonest_info"
|
|
"company_dishonest_info"
|
|
- , "company_dishonest_info_human"
|
|
|
|
|
|
+ , "company_dishonest_info_person"
|
|
)
|
|
)
|
|
|
|
|
|
private def is_con(s: String): Boolean = {
|
|
private def is_con(s: String): Boolean = {
|
|
@@ -36,11 +36,11 @@ case class deadbeat_info(s: SparkSession,
|
|
}
|
|
}
|
|
|
|
|
|
private val m = Map("company_dishonest_info" -> "失信人"
|
|
private val m = Map("company_dishonest_info" -> "失信人"
|
|
- , "company_dishonest_info_human" -> "失信人"
|
|
|
|
|
|
+ , "company_dishonest_info_person" -> "失信人"
|
|
)
|
|
)
|
|
|
|
|
|
private val ids_m = Map("company_dishonest_info" -> "1"
|
|
private val ids_m = Map("company_dishonest_info" -> "1"
|
|
- , "company_dishonest_info_human" -> "2")
|
|
|
|
|
|
+ , "company_dishonest_info_person" -> "2")
|
|
|
|
|
|
class person_agg_label extends UserDefinedAggregateFunction {
|
|
class person_agg_label extends UserDefinedAggregateFunction {
|
|
|
|
|
|
@@ -210,7 +210,7 @@ case class deadbeat_info(s: SparkSession,
|
|
//参与预处理的表
|
|
//参与预处理的表
|
|
val mapTables = new mutable.HashMap[String, (String, String, String, String, String, String, String, String)]()
|
|
val mapTables = new mutable.HashMap[String, (String, String, String, String, String, String, String, String)]()
|
|
mapTables("company_zxr") = ("rowkey", "cname", "card", "case_create_time", "deleted", "case_no", "court", "1")
|
|
mapTables("company_zxr") = ("rowkey", "cname", "card", "case_create_time", "deleted", "case_no", "court", "1")
|
|
- mapTables("company_dishonest_info") = ("rowkey", "name", "card_num", "reg_time", "deleted", "case_no", "court", "2")
|
|
|
|
|
|
+ mapTables("company_dishonest_info") = ("rowkey", "name", "card_num", "pub_date", "deleted", "case_no", "court", "2")
|
|
mapTables("company_zxr_final_case") = ("rowkey", "name", "identity_num", "case_create_time", "deleted", "case_no", "court_name", "3")
|
|
mapTables("company_zxr_final_case") = ("rowkey", "name", "identity_num", "case_create_time", "deleted", "case_no", "court_name", "3")
|
|
mapTables("company_zxr_restrict") = ("rowkey", "name", "identity_num", "case_create_time", "deleted", "case_no", "court_name", "4")
|
|
mapTables("company_zxr_restrict") = ("rowkey", "name", "identity_num", "case_create_time", "deleted", "case_no", "court_name", "4")
|
|
is_id_card()
|
|
is_id_card()
|