You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2018/02/06 06:21:00 UTC

[jira] [Updated] (ATLAS-2433) Advanced Search DSL: Improve Support for Numeric Data Types

     [ https://issues.apache.org/jira/browse/ATLAS-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Mestry updated ATLAS-2433:
-----------------------------------
    Attachment: ATLAS-2433-DSL-Improve-support-for-numeric-data-type.patch

> Advanced Search DSL: Improve Support for Numeric Data Types
> -----------------------------------------------------------
>
>                 Key: ATLAS-2433
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2433
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>         Attachments: ATLAS-2433-DSL-Improve-support-for-numeric-data-type.patch
>
>
> *Background*
> Existing implementation works well for numeric data types only when they are the only condition in where clause.
> The root cause is that numeric data types are not treated as such.
> *Examples*
> DSL query :
> {code:java}
> hive_table name="name1" or name="name2" or name="name3" or description = "table"
> {code}
> works and fetches the correct results.
> {code:java}
> hdfs_path fileSize=1000 or fileSize=10
> {code}
> doesn't fetch any results , though there are 2 hdfs_path entities with fileSize 1000 and 10.
> But following work:
> {code:java}
> hdfs_path fileSize=1000 
> {code}
> {code:java}
> hdfs_path fileSize=10 {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)