atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Hagelberg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1386) Avoid unnecessary type lookups during query parsing
Date Mon, 16 Jan 2017 22:29:26 GMT

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

Jeffrey Hagelberg updated ATLAS-1386:
-------------------------------------
    Attachment: rb55436.patch

> Avoid unnecessary type lookups during query parsing
> ---------------------------------------------------
>
>                 Key: ATLAS-1386
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1386
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: trunk
>            Reporter: David Kantor
>            Assignee: Jeffrey Hagelberg
>         Attachments: rb55436.patch
>
>
> During query parsing, there are unnecessary types lookups happening. For example, in
the DSL query hive_table where name = \"bar-999\" select name, name is parsed into an identifier,
and it was doing a type lookup to see if a trait or class called 'name' exists. In cases like
this, the operands are fields, not types, and so a type lookup is not necessary and arguably
incorrect. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message