GitHub user scwf opened a pull request:

    https://github.com/apache/spark/pull/5715

    [SPARK-7163] [SQL] minor refactory for HiveQl

    A work to refactory hiveql to make it more clean and readable
    
    1 move ASTNode related util method to a new object named HiveASTNodeUtil
    2 delete no use method in HiveQl
    3 override `sqlParser` in hivecontext by `ExtendedHiveQlParser`, instead of 
making a new `ddlParserWithHiveQL` and calling `HiveQl.parseSql` in 
hivecontext. 
    4 rename HiveQl to HiveQlConverter

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/scwf/spark hiveql-refactory

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5715.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 #5715
    
----
commit b40ad71e66046455edb1ac01ef74855b6dd43436
Author: wangfei <[email protected]>
Date:   2015-04-27T03:40:20Z

    draft

commit 5b3f9f52c43f5ee764b1c203142e0c48a915e016
Author: wangfei <[email protected]>
Date:   2015-04-27T06:20:49Z

    remove astnode related method to HiveASTNodeUtil

commit d7a0433a4bfaba527907ca800fcd275e5941a5bb
Author: wangfei <[email protected]>
Date:   2015-04-27T06:59:06Z

    compile issue

commit fed7b58c8e6f1f6cc523c8eedb25003bf3a0bae1
Author: wangfei <[email protected]>
Date:   2015-04-27T07:25:25Z

    fix substituted

commit 82df766b1d584fc49ee3711bf1b8f655e4d58c9e
Author: wangfei <[email protected]>
Date:   2015-04-27T07:31:35Z

    added @transient for sqlParser

commit f76a7b1eb2cec2c922f8a82e3e67da03984e886e
Author: wangfei <[email protected]>
Date:   2015-04-27T07:46:59Z

    style issue

----


---
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]

Reply via email to