You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "ishan verma (Jira)" <ji...@apache.org> on 2020/08/10 06:31:00 UTC

[jira] [Closed] (GRIFFIN-337) evaluation rule for uniqueness

     [ https://issues.apache.org/jira/browse/GRIFFIN-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ishan verma closed GRIFFIN-337.
-------------------------------
    Resolution: Fixed

> evaluation rule for uniqueness 
> -------------------------------
>
>                 Key: GRIFFIN-337
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-337
>             Project: Griffin
>          Issue Type: Bug
>            Reporter: ishan verma
>            Priority: Critical
>         Attachments: screenshot.jpeg
>
>
> Hi ,
> can anyone guide me to write the rule for uniqueness measure.
> I am actually creating custom measures and have created completeness apart from accuracy and profiling. 
> I am following this paragraph about rule for uniqueness given in the below link:-
> [https://github.com/apache/griffin/blob/master/griffin-doc/measure/dsl-guide.md]
> h3. Uniqueness Rule
> Uniqueness rule expression in Apache Griffin DSL is a list of selection expressions separated by comma, indicates the columns to check if is unique. The uniqueness indicates the items without any replica of data. e.g. {{name, age}}, {{name, (age + 1) as next_age}}
>  And this is what i am specifying in the code, the columns(name and age) on which i want this rule to work on, job is getting success but i am getting *no content* for this rule.:-
> "rule": "source.name, source.age",
>  "dsl.type": "griffin-dsl",
>  "dq.type": "UNIQUENESS",
>  "out.dataframe.name": "uniqueness"
>  
> Any leads will be appreciated. Thanks in advance



--
This message was sent by Atlassian Jira
(v8.3.4#803005)