You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2018/05/17 15:35:00 UTC
[jira] [Updated] (ATLAS-1386) Avoid unnecessary type lookups during
query parsing
[ https://issues.apache.org/jira/browse/ATLAS-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-1386:
------------------------------------
Fix Version/s: 0.8-incubating
Committed to master: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/75bcccd1
> 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
> Priority: Major
> Fix For: 0.8-incubating
>
> 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
(v7.6.3#76005)