Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.13 KB

column_duplicate.md

File metadata and controls

46 lines (37 loc) · 1.13 KB

Metric Plugin : column_duplicate

Description

This metric checks the count of that the column's value is duplicated

Options

name type required default value
table string yes -
column string yes -

table [string]

need metric table

column [string]

table column need to check

Example

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"
            }
        }
    }
}