[ https://issues.apache.org/jira/browse/ATLAS-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keval Bhatt reassigned ATLAS-2188: ---------------------------------- Assignee: Keval Bhatt > UI can trim whitespaces at the beginning or end of search query > --------------------------------------------------------------- > > Key: ATLAS-2188 > URL: https://issues.apache.org/jira/browse/ATLAS-2188 > Project: Atlas > Issue Type: Bug > Components: atlas-webui > Affects Versions: 0.8.2 > Reporter: Ayub Pathan > Assignee: Keval Bhatt > > For example, the below query has trailing space in the query resulting to not > returning anything, but if you see semantically this query seems to be > correct. > If a user by mistake enters a whitespace at the beginning or end of search > query, this will result in null response, which seems to be very strict. > Instead, UI can trim the whitespaces at the beginning or end of the query. > Please let me know your thoughts. > query json sample: > {noformat} > {"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"name","operator":"neq","attributeValue":"123"},{"attributeName":"name","operator":"startsWith","attributeValue":" > > hbase"},{"attributeName":"owner","operator":"startsWith","attributeValue":"hrt_qa"}]},"tagFilters":null,"attributes":[],"query":null,"limit":25,"offset":0,"typeName":"hbase_table","classification":null} > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)