[
https://issues.apache.org/jira/browse/ATLAS-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharmadha Sainath updated ATLAS-1918:
-------------------------------------
Attachment: RegExSearchError.txt
> Search using entity and trait attributes - Using wildcard search in filters
> ---------------------------------------------------------------------------
>
> Key: ATLAS-1918
> URL: https://issues.apache.org/jira/browse/ATLAS-1918
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.9-incubating
> Reporter: Sharmadha Sainath
> Fix For: 0.9-incubating
>
> Attachments: RegExSearchError.txt
>
>
> 1. Created 2 hive tables hive_table_a and hive_table_b
> 2. Searched for :
> {code}
> type name = hive_table and query = /hive_table_[ab]/ .
> {code}
> The above query fetched correct results ,i.e both hive_table_a and
> hive_table_b.
> 3.Cleared search. Searched type name = hive_table and added filters :
>
> 1. The following fetched both hive_table_a and hive_table_b which is correct
> {code}
> name = /hive_table_[ab]/
> {code}
>
> 2. The following filters fetched all hive tables in my Atlas instance
> {code}
> name beginsWith /hive_table_[ab]/
> name contains /hive_table_[ab]/
> {code}
>
> 3. The following threw 500 Internal Server error. Attached the exception
> stack trace.
> {code}
> name endsWith /hive_table_[ab]/
> {code}
> 4. No results were found on applying the following filter .(filed as part of
> [ATLAS-1917|https://issues.apache.org/jira/browse/ATLAS-1917])
> {code}
> name != /hive_table_[ab]/
> {code}
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)