You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Jeffrey Hagelberg (JIRA)" <ji...@apache.org> on 2017/01/19 21:30:26 UTC
[jira] [Commented] (ATLAS-1386) Avoid unnecessary type lookups
during query parsing
[ 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)