Ashutosh Mestry created ATLAS-2433:
--------------------------------------

             Summary: 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


*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)

Reply via email to