[
https://issues.apache.org/jira/browse/GRIFFIN-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ishan verma updated GRIFFIN-337:
--------------------------------
Description:
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 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
> evaluation rule for uniqueness
> -------------------------------
>
> Key: GRIFFIN-337
> URL: https://issues.apache.org/jira/browse/GRIFFIN-337
> Project: Griffin
> Issue Type: Task
> Reporter: ishan verma
> Priority: Critical
> Attachments: WhatsApp Image 2020-07-23 at 4.54.22 PM.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 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)