Uh oh!
There was an error while loading. Please reload this page.
[SPARK-18127] Add hooks and extension points to Spark - #17724
[SPARK-18127] Add hooks and extension points to Spark#17724sameeragarwal wants to merge 3 commits into
Conversation
sameeragarwal
commented
Apr 21, 2017
cc @hvanhovell |
SparkQA
commented
Apr 21, 2017
Test build #76048 has finished for PR 17724 at commit
|
hvanhovell
commented
Apr 21, 2017
LGTM |
SparkQA
commented
Apr 22, 2017
Test build #76049 has finished for PR 17724 at commit
|
| /** | ||
| * Inject extensions into the [[SparkSession]]. This allows a user to add Analyzer rules, | ||
| * Optimizer rules, Planning Strategies or a customized parser. | ||
| * |
There was a problem hiding this comment.
In the JIRA, the target version is 2.2. Do we still plan to backport it to 2.2.0?
| * .master("...") | ||
| * .conf("...", true) | ||
| * .withExtensions { extensions => | ||
| * extensions.injectAnalyzerRule { session => |
There was a problem hiding this comment.
injectAnalyzerRule -> buildResolutionRules?
gatorsmile
commented
Apr 22, 2017
LGTM |
SparkQA
commented
Apr 25, 2017
Test build #76146 has finished for PR 17724 at commit
|
mridulm
commented
Apr 26, 2017
Can we add SQL to pr title ? Extension to spark implies core, and means something different :-) |
## What changes were proposed in this pull request? This patch adds support for customizing the spark session by injecting user-defined custom extensions. This allows a user to add custom analyzer rules/checks, optimizer rules, planning strategies or even a customized parser. ## How was this patch tested? Unit Tests in SparkSessionExtensionSuite Author: Sameer Agarwal <sameerag@cs.berkeley.edu> Closes#17724 from sameeragarwal/session-extensions. (cherry picked from commit caf3920) Signed-off-by: Xiao Li <gatorsmile@gmail.com>
gatorsmile
commented
Apr 26, 2017
Thanks! Merging to master/2.2 |
sameeragarwal
commented
May 1, 2017
@mridulm my apologies -- I agree with your point but missed seeing this comment before the patch was merged. I hope the conf name ( |
What changes were proposed in this pull request?
This patch adds support for customizing the spark session by injecting user-defined custom extensions. This allows a user to add custom analyzer rules/checks, optimizer rules, planning strategies or even a customized parser.
How was this patch tested?
Unit Tests in SparkSessionExtensionSuite