spark-instrumented-optimizer/sql/core
gatorsmile a59ab594ca [SPARK-15184][SQL] Fix Silent Removal of An Existent Temp Table by Rename Table
#### What changes were proposed in this pull request?
Currently, if we rename a temp table `Tab1` to another existent temp table `Tab2`. `Tab2` will be silently removed. This PR is to detect it and issue an exception message.

In addition, this PR also detects another issue in the rename table command. When the destination table identifier does have database name, we should not ignore them. That might mean users could rename a regular table.

#### How was this patch tested?
Added two related test cases

Author: gatorsmile <gatorsmile@gmail.com>

Closes #12959 from gatorsmile/rewriteTable.
2016-05-09 13:05:18 +08:00
..
src [SPARK-15184][SQL] Fix Silent Removal of An Existent Temp Table by Rename Table 2016-05-09 13:05:18 +08:00
pom.xml [SPARK-15148][SQL] Upgrade Univocity library from 2.0.2 to 2.1.0 2016-05-05 11:26:40 -07:00