Project: talenddataquality
Issue TDQ-12398: udi drill down sql doesn't  add `` for <%=__COLUMN_NAMES__%>
1. create a User Defined Count indicator in Indicator Definition part set -> {code}<%=__COLUMN_NAMES__%> is not null{code} then Full SQl part set as below automatically {code} SELECT COUNT(*) FROM <%=__TABLE_NAME__%> WHERE (<%=__COLUMN_NAMES__%> is not null) <%=__AND_WHERE_CLAUSE__%> {code} view sql template part set as below automatically {code} SELECT * FROM <%=__TABLE_NAME__%> WHERE (<%=__COLUMN_NAMES__%> is not null) <%=__AND_WHERE_CLAUSE__%> {code} use it in mysql , check the udi Execute Query {code} SELECT COUNT(*) FROM `dba`.`itemmore500` WHERE (`state` is not null) {code} and drill down query {code} SELECT * FROM `dba`.`itemmore500` WHERE (state is not null) {code} in Executed query we get `` for column name, but dirll down query not, for this case there is no any influence, but if column name is special one will get error, such as column name contains space
Story points: 1