diff options
author | Reynold Xin <rxin@databricks.com> | 2016-04-20 16:32:38 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-04-20 16:32:38 -0700 |
commit | 334c293ec0bcc2195d502c574ca40dbc4769d666 (patch) | |
tree | a3a9e1e373776639e6105efd9db1ba5a30f1816d /core/src/main/scala | |
parent | b28fe448d91330afc84e369c548ab0a5de91e9ac (diff) | |
download | spark-334c293ec0bcc2195d502c574ca40dbc4769d666.tar.gz spark-334c293ec0bcc2195d502c574ca40dbc4769d666.tar.bz2 spark-334c293ec0bcc2195d502c574ca40dbc4769d666.zip |
[SPARK-14769][SQL] Create built-in functionality for variable substitution
## What changes were proposed in this pull request?
In order to fully merge the Hive parser and the SQL parser, we'd need to support variable substitution in Spark. The implementation of the substitute algorithm is mostly copied from Hive, but I simplified the overall structure quite a bit and added more comprehensive test coverage.
Note that this pull request does not yet use this functionality anywhere.
## How was this patch tested?
Added VariableSubstitutionSuite for unit tests.
Author: Reynold Xin <rxin@databricks.com>
Closes #12538 from rxin/SPARK-14769.
Diffstat (limited to 'core/src/main/scala')
0 files changed, 0 insertions, 0 deletions