You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Pinal (Jira)" <ji...@apache.org> on 2021/06/22 17:02:00 UTC
[jira] [Updated] (ATLAS-4341) Regression: DSL query with like
operator and regex expression does not work
[ https://issues.apache.org/jira/browse/ATLAS-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pinal updated ATLAS-4341:
-------------------------
Description:
hdfs_path having 5 entities with suffix 0 to 5
{code:java}
/api/atlas/v2/search/dsl?typeName=hdfs_path&query=name%20like%20%22hdfs_path_vzxtp_*%22{code}
Finds the result
But
{code:java}
/api/atlas/v2/search/dsl?typeName=hdfs_path&query=name like "hdfs_path_vzxtp_[0-9]"
{code}
Returns empty
was:
hdfs_path having 5 entities with suffix 0 to 5
{code:java}
/api/atlas/v2/search/dsl?typeName=hdfs_path&query=name%20like%20%22hdfs_path_vzxtp_*%22{code}
Finds the result
But
{code:java}
/api/atlas/v2/search/dsl?typeName=hdfs_path&query=name like "hdfs_path_vzxtp_[0-9]"
{code}
Returns empty
> Regression: DSL query with like operator and regex expression does not work
> ---------------------------------------------------------------------------
>
> Key: ATLAS-4341
> URL: https://issues.apache.org/jira/browse/ATLAS-4341
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Pinal
> Assignee: Pinal
> Priority: Major
> Labels: AdvancedSearch
>
> hdfs_path having 5 entities with suffix 0 to 5
> {code:java}
> /api/atlas/v2/search/dsl?typeName=hdfs_path&query=name%20like%20%22hdfs_path_vzxtp_*%22{code}
> Finds the result
> But
> {code:java}
> /api/atlas/v2/search/dsl?typeName=hdfs_path&query=name like "hdfs_path_vzxtp_[0-9]"
> {code}
> Returns empty
--
This message was sent by Atlassian Jira
(v8.3.4#803005)