[ https://issues.apache.org/jira/browse/ATLAS-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355074#comment-16355074 ]
Apoorv Naik commented on ATLAS-2433: ------------------------------------ +1 Looks good to me. Haven't run any tests yet, will execute a patch test build. Please commit after validating the jenkins result. > 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 > Components: atlas-core > Affects Versions: trunk > Reporter: Ashutosh Mestry > Assignee: Ashutosh Mestry > Priority: Major > Fix For: trunk > > 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)