You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by rxin <gi...@git.apache.org> on 2014/07/16 07:46:31 UTC

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

GitHub user rxin opened a pull request:

    https://github.com/apache/spark/pull/1430

    [SQL] Cleaned up ConstantFolding slightly.

    Moved couple rules out of NullPropagation and added more comments.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rxin/spark sql-folding-rule

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1430.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 #1430
    
----
commit 7f8cf61205ada7e20adbf8b8a30d50b8405da229
Author: Reynold Xin <rx...@apache.org>
Date:   2014-07-16T05:44:42Z

    [SQL] Cleaned up ConstantFolding slightly.
    
    Moved couple rules out of NullPropagation and added more comments.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/1430#issuecomment-49125944
  
    QA tests have started for PR 1430. This patch merges cleanly. <br>View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16714/consoleFull


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/1430#issuecomment-49128331
  
    See the discussion at #1428.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/1430


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/1430#issuecomment-49202491
  
    Merging in master & branch-1.0.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/1430#issuecomment-49203889
  
    Actually only master. There is a conflict in branch-1.0 that I will leave it intact for now. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SQL] Cleaned up ConstantFolding slightly.

Posted by chenghao-intel <gi...@git.apache.org>.
Github user chenghao-intel commented on the pull request:

    https://github.com/apache/spark/pull/1430#issuecomment-49127540
  
    The code looks good to me.
    I am thinking if we could merge the ConstantFolding & NullPropagation and make it `transformExpressionsUp` , since they kind of rely on each other, and people may always get confused when place a Null or Constant optimization.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---