diff options
author | Herman van Hovell <hvanhovell@questtec.nl> | 2016-02-03 12:31:30 -0800 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-02-03 12:31:30 -0800 |
commit | 9dd2741ebe5f9b5fa0a3b0e9c594d0e94b6226f9 (patch) | |
tree | 944375f52deb2c45463d6b73ad9c14eb2fac4a31 /core | |
parent | c4feec26eb677bfd3bfac38e5e28eae05279956e (diff) | |
download | spark-9dd2741ebe5f9b5fa0a3b0e9c594d0e94b6226f9.tar.gz spark-9dd2741ebe5f9b5fa0a3b0e9c594d0e94b6226f9.tar.bz2 spark-9dd2741ebe5f9b5fa0a3b0e9c594d0e94b6226f9.zip |
[SPARK-13157] [SQL] Support any kind of input for SQL commands.
The ```SparkSqlLexer``` currently swallows characters which have not been defined in the grammar. This causes problems with SQL commands, such as: ```add jar file:///tmp/ab/TestUDTF.jar```. In this example the `````` is swallowed.
This PR adds an extra Lexer rule to handle such input, and makes a tiny modification to the ```ASTNode```.
cc davies liancheng
Author: Herman van Hovell <hvanhovell@questtec.nl>
Closes #11052 from hvanhovell/SPARK-13157.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions