Project: talenddataquality
Issue TDQ-3490: Amend UDI definition to allow drill-down into result sets.
Per suggestion in the thread http://talendforge.org/forum/viewtopic.php?id=17584. Enable drill-downs for UDIs by amending the information captured with the "Edit expression" dialog as follows. Tweak the UDI "Indicator Definition" window along the lines of: 1) Move "Indicator Category" prior to the "Indicator Definition". The Indicator Category defines the columns expected in the result set. 2.1) Within the "Edit Expression" window, extra input fields should be available, one for each column expected per the "Indicator Category". 2.2) Each extra field would then contain the expression to be used for the given column 2.3) The existing expression field would then be used for just the SQL required to obtain the result set. 2.4) Probably need to have a separate (though optional) input field for a "GROUP BY" clause, which would be applied as a suffix to 2.3) 3) The current Open Profiler functionality would be achieved by it building the necessary SQL from the constituent elements in the window. It would need to wrap an outermost "SELECT" and "FROM" around the expression provided within 2.2) and use the "group by" clause field from 2.4). 4) The "view rows" capability would then be able to use the logic within 2.3) to retrieve the underlying data. Of course, it's is always simpler to conceptualise a solution than it is to code it!
Story points: 3