aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@databricks.com>2017-02-24 23:05:36 -0800
committerWenchen Fan <wenchen@databricks.com>2017-02-24 23:05:59 -0800
commit8f0511ed49a353fb0745f320a84063ced5cc1857 (patch)
treecb770f0843aa77f2afaa81a98e12a2a1231ce60c /docs
parent4cb025afafe63d5871356d9dc38d58c1df0da996 (diff)
downloadspark-8f0511ed49a353fb0745f320a84063ced5cc1857.tar.gz
spark-8f0511ed49a353fb0745f320a84063ced5cc1857.tar.bz2
spark-8f0511ed49a353fb0745f320a84063ced5cc1857.zip
[SPARK-19650] Commands should not trigger a Spark job
Spark executes SQL commands eagerly. It does this by creating an RDD which contains the command's results. The downside to this is that any action on this RDD triggers a Spark job which is expensive and is unnecessary. This PR fixes this by avoiding the materialization of an `RDD` for `Command`s; it just materializes the result and puts them in a `LocalRelation`. Added a regression test to `SQLQuerySuite`. Author: Herman van Hovell <hvanhovell@databricks.com> Closes #17027 from hvanhovell/no-job-command.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions