GitHub user chenghao-intel opened a pull request:
https://github.com/apache/spark/pull/3926
[SPARK-5009][SQL] [WIP] Long keyword support in SQL Parsers
The `SqlLexical.allCaseVersions` will cause `StackOverflowException` if the
key word is too long, the patch will fix that by normalizing all of the
keywords in `SqlLexical`.
PS: This PR includes some commits from #3924 , will be more clean if #3924
merged.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chenghao-intel/spark long_keyword
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3926.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3926
----
commit 958811083783fb7aa8a5b1b93a05cafd0deb4249
Author: Cheng Hao <[email protected]>
Date: 2015-01-07T04:57:12Z
refactor the code of SQLParser relevant code
commit 9218922d71ba6617dba1665461ca32cedb29a554
Author: Cheng Hao <[email protected]>
Date: 2015-01-07T06:05:25Z
adding all cases for keywords in the reserved list
commit 98023a82aef4d5561867f06523a6fd5815ce82b7
Author: Cheng Hao <[email protected]>
Date: 2015-01-07T05:52:44Z
Remove the allCaseVersions function in SQL Parsers
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]