spark-instrumented-optimizer/sql/core/src/main
gatorsmile 9c2a376e41 [SPARK-15297][SQL] Fix Set -V Command
#### What changes were proposed in this pull request?
The command `SET -v` always outputs the default values even if we set the parameter. This behavior is incorrect. Instead, if users override it, we should output the user-specified value.

In addition, the output schema of `SET -v` is wrong. We should use the column `value` instead of `default` for the parameter value.

This PR is to fix the above two issues.

#### How was this patch tested?
Added a test case.

Author: gatorsmile <gatorsmile@gmail.com>

Closes #13081 from gatorsmile/setVcommand.
2016-05-19 10:05:53 +08:00
..
java/org/apache/spark/sql [SPARK-14642][SQL] import org.apache.spark.sql.expressions._ breaks udf under functions 2016-05-10 12:32:56 -07:00
resources [SPARK-14476][SQL] Improve the physical plan visualization by adding meta info like table name and file path for data source. 2016-05-10 21:50:53 -07:00
scala/org/apache/spark/sql [SPARK-15297][SQL] Fix Set -V Command 2016-05-19 10:05:53 +08:00