amplab/shark — pull request #333 by chenghao-intel (2014-05-26 07:26:30+00:00)
Title: Fix the rdd recovery of table from the non-default database

Previously only support recovery RDD from the default database.

I was trying to change the code like
val cmd = QueryRewriteUtils.cacheToAlterTable("CACHE %s".format(s"$databaseName.$tableName"))

However, seems the Hive doesn't support altering table with database name prefixed.
e.g. "alter table db2.test1 set tblproperties("shark.cache"="memory"); will fail.