Currently, we try to support multiple sessions in SQL within a Spark Context, but it's broken and not complete.
We should isolate these for each session :
1) current database of Hive
4) temporary table
For added jar and cached tables, they should be accessible for all sessions.