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)