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

Jason Dere commented on HIVE-18513:
-----------------------------------

Adding patch v2:
 * Disable caching of results if the query did not use CBO
 * Initialize the cache during HS2 init
 * Update test configs to disable caching by default. Some of the tests have 
repeated runs of the same queries to test different join algorithms etc, and 
the presence of query caching will mess up those tests. There have been several 
qfile tests added which specifically enable the cache.

> Query results caching
> ---------------------
>
>                 Key: HIVE-18513
>                 URL: https://issues.apache.org/jira/browse/HIVE-18513
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>            Priority: Major
>         Attachments: HIVE-18513.1.patch, HIVE-18513.2.patch
>
>
> Add a query results cache that can save the results of an executed Hive query 
> for reuse on subsequent queries. This may be useful in cases where the same 
> query is issued many times, since Hive can return back the results of a 
> cached query rather than having to execute the full query on the cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to