-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-1852] prevents queries with sorts submitting jobs prematurely #948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15376/ |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
|
Thanks for looking into this! Just a thought: what do you think about instead putting a method called |
|
/cc @concretevitamin who is looking at similar parts of the code at the moment. |
|
Removing duplication is definitely a good thing. The other benefit is that it seems more natural to me to push such DDL/command processing logic into QueryExecution, instead of putting them into two thin entry methods ( I am super new to Spark SQL so bear with me if this is silly -- what is the reason we don't do this as well for |
|
@marmbrus Agree. I'll try to remove the @concretevitamin |
|
Merged build triggered. |
|
Merged build triggered. |
|
@marmbrus @concretevitamin While working on the cache table SQL command and reviewing PR #956, I think this PR may make both changes cleaner, so I tried to finish this one first. For example, we won't need Instead of |
|
Hey @liancheng - I think this refactoring will solve this particular ticket (i.e. queries w/ sorts will not be eagerly executed anymore). However, I don't see why we don't need |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15596/ |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15598/ |
|
Just a memo: please refer to this comment and SPARK-2094 for more details about this PR and PR #956. |
|
Closing this PR because corresponding change is merged into another up coming PR that aims to solve SPARK-2094. |
…message from mapr stream which was produced before application start (apache#948)
…message from mapr stream which was produced before application start (apache#948)
JIRA issue: SPARK-1852
This issue is related to SPARK-1021, but this PR doesn't try to solve that one. Worked around by only forcing query planning when running DDL and other native commands.