GitHub user gbloisi opened a pull request:

    https://github.com/apache/spark/pull/23074

    [SPARK-19798] Refresh table does not have effect on other sessions than the 
issuing one

    ## What changes were proposed in this pull request?
    Refresh table command does not have effect on other sessions than the 
issuing one.
    
    Move table relation cache from session catalog to session shared state so 
that different sessions can synchronize when a table is modified and refreshed.
    
    ## How was this patch tested?
    New test in HiveMetadataCacheSuite

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gbloisi/spark shared-session-cache

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/23074.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #23074
    
----
commit bdd677c94c4e198d1d012c3c66a06ba791dc95bb
Author: Giambattista Bloisi <gbloisi@...>
Date:   2018-11-17T22:35:19Z

    Refresh table command do not have effect on other sessions than the issuing 
one.
    Move table relation cache from session catalog to session sharedstate so 
that different sessions can synchronize when refresh table command is issued.
    New test in HiveMetadataCacheSuite demonstrates the need.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to