Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
HIVE-19138 allowed a currently running query to wait on the pending results of an already running query. gopalv, after testing with high concurrency, suggested further improving this by having a way to use the switch to using the results cache even at the end of query compilation.
Patch performs a 2nd lookup of the cache at the end of query compilation, in case another query has entered pending state by that point.