Skip to content

[SPARK-6397][SQL] Check the missingInput simply#5082

Closed
watermen wants to merge 1 commit into
apache:masterfrom
watermen:sql-missingInput
Closed

[SPARK-6397][SQL] Check the missingInput simply#5082
watermen wants to merge 1 commit into
apache:masterfrom
watermen:sql-missingInput

Conversation

@watermen

Copy link
Copy Markdown
Contributor

No description provided.

@AmplabJenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

@the-sea

the-sea commented Mar 19, 2015

Copy link
Copy Markdown

greate improvement!

@marmbrus

Copy link
Copy Markdown
Contributor

test this please

@SparkQA

SparkQA commented Mar 21, 2015

Copy link
Copy Markdown

Test build #28947 has started for PR 5082 at commit 25766b9.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Mar 21, 2015

Copy link
Copy Markdown

Test build #28947 has finished for PR 5082 at commit 25766b9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28947/
Test PASSed.

@watermen

Copy link
Copy Markdown
Contributor Author

@liancheng @marmbrus Any more comment on this?

@liancheng

Copy link
Copy Markdown
Contributor

LGTM, #5129 also needs this one. I'm merging this to master and branch-1.3. Thanks for working on this!

@asfgit asfgit closed this in e566fe5 Mar 23, 2015

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we prefer adding missingInput in Expand? At first I thought we should just update QueryPlan.missingInput to take the grouping ID virtual column into account.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liancheng The grouping ID virtual column only used in Expand(LogicalPlan), so I think it's better to add the grouping ID virtual column in subclass(Expand) of QueryPlan. If add missingInput in QueryPlan, it will be more and more when other case like the grouping ID virtual column.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point is we may also support other virtual columns like INPUT__FILE__NAME and BLOCK__OFFSET__INSIDE__FILE in the future. These virtual columns can be used in more general places like Project and Filter. That's why I think moving this to QueryPlan may make more sense.

@liancheng

Copy link
Copy Markdown
Contributor

Sorry, just reverted my last merge, please see my comment above.

@liancheng

Copy link
Copy Markdown
Contributor

@watermen A little off topic, would you mind to set your name properly by executing this:

$ git config --global user.name "Yadong Qi"

Currently your name shows as q00251598 in the Git log. This can be inconvenient for us (mostly for @pwendell) to generate the credit list for the next release. Thanks!

@watermen

Copy link
Copy Markdown
Contributor Author

@liancheng Thanks, I'll do it.

@liancheng

Copy link
Copy Markdown
Contributor

Since my previous merge operation closed this PR, @watermen has opened #5132 to supersede this.

asfgit pushed a commit that referenced this pull request Mar 23, 2015
#5082

/cc liancheng

Author: Yadong Qi <qiyadong2010@gmail.com>

Closes #5132 from watermen/sql-missingInput-new and squashes the following commits:

1e5bdc5 [Yadong Qi] Check the missingInput simply

(cherry picked from commit 9f3273b)
Signed-off-by: Cheng Lian <lian@databricks.com>
asfgit pushed a commit that referenced this pull request Mar 23, 2015
#5082

/cc liancheng

Author: Yadong Qi <qiyadong2010@gmail.com>

Closes #5132 from watermen/sql-missingInput-new and squashes the following commits:

1e5bdc5 [Yadong Qi] Check the missingInput simply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants