You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2021/01/15 14:50:00 UTC
[jira] [Created] (HIVE-24644) QueryResultCache parses the query
twice
Krisztian Kasa created HIVE-24644:
-------------------------------------
Summary: QueryResultCache parses the query twice
Key: HIVE-24644
URL: https://issues.apache.org/jira/browse/HIVE-24644
Project: Hive
Issue Type: Improvement
Components: HiveServer2, Parser
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa
Query result cache lookup results by query text which has fully resolved table references.
In order to generate this query text currently implementation
* transforms the AST tree back to String
* parses the String generated in above step
* traverse the new AST and replaces the table references to the fully qualified ones
* transforms the new AST tree back to String -> this will be the cache key
--
This message was sent by Atlassian Jira
(v8.3.4#803005)