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] [Commented] (ATLAS-1386) Avoid unnecessary type lookups during query parsing
Date Thu, 19 Jan 2017 21:30:26 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830643#comment-15830643
] 

Jeffrey Hagelberg commented on ATLAS-1386:
------------------------------------------

Changes committed.

> 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