spark-instrumented-optimizer/sql/hive
Wenchen Fan 453455c479 [SPARK-13974][SQL] sub-query names do not need to be globally unique while generate SQL
## What changes were proposed in this pull request?

We only need to make sub-query names unique every time we generate a SQL string, but not all the time. This PR moves the `newSubqueryName` method to `class SQLBuilder` and remove `object SQLBuilder`.

also addressed 2 minor comments in https://github.com/apache/spark/pull/11696

## How was this patch tested?

existing tests.

Author: Wenchen Fan <wenchen@databricks.com>

Closes #11783 from cloud-fan/tmp.
2016-03-18 09:30:36 +08:00
..
compatibility/src/test/scala/org/apache/spark/sql/hive/execution [SPARK-13526][SQL] Move SQLContext per-session states to new class 2016-02-27 19:51:28 -08:00
src [SPARK-13974][SQL] sub-query names do not need to be globally unique while generate SQL 2016-03-18 09:30:36 +08:00
pom.xml [SPARK-11624][SPARK-11972][SQL] fix commands that need hive to exec 2016-02-22 18:13:32 -08:00