GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/2215
[SPARK-2973][SQL] Lightweight SQL commands without distributed jobs when
calling .collect()
By overriding `executeCollect()` in physical plan classes of all commands,
we can avoid to kick off a distributed job when collecting result of a SQL
command, e.g. `sql("SET").collect()`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark lightweight-commands
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2215.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 #2215
----
commit 55b2aa5e4d5be7ba8edba9ef63fa75feab3ae03c
Author: Cheng Lian <[email protected]>
Date: 2014-08-30T09:26:53Z
Avoids distributed jobs when execution SQL commands
commit 542977c20bca8ea1eb529a3a9aa6d566eeb08160
Author: Cheng Lian <[email protected]>
Date: 2014-08-30T09:33:35Z
Avoids confusion between logical and physical plan by adding package
prefixes
commit 995bdd8012f41c421fd687e5d72b03808244c99a
Author: Cheng Lian <[email protected]>
Date: 2014-08-30T09:47:56Z
Cleaned up DescribeHiveTableCommand
----
---
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]