This metric checks the count of that the column's value is duplicated
name | type | required | default value |
---|---|---|---|
table | string | yes | - |
column | string | yes | - |
need metric table
table column need to check
POST localhost:5600/api/v1/jobExecution/submit
{
"name":"test",
"parameter":{
"metricType":"column_duplicate",
"metricParameter":{
"table":"jobExecution",
"column":"parameter"
},
"srcConnectorParameter":{
"type":"postgresql",
"parameters":{
"database":"datavines",
"password":"xxxxxxx",
"port":"5432",
"host":"localhost",
"user":"postgres",
"properties":"useUnicode=true&characterEncoding=UTF-8"
}
}
}
}