You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by scwf <gi...@git.apache.org> on 2015/04/27 04:14:38 UTC

[GitHub] spark pull request: [SQL][Minor] rename DataTypeParser.apply to Da...

GitHub user scwf opened a pull request:

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

    [SQL][Minor] rename DataTypeParser.apply to DataTypeParser.parse

    rename DataTypeParser.apply to DataTypeParser.parse to make it more clear and readable.
    /cc @rxin 

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

    $ git pull https://github.com/scwf/spark apply

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

    https://github.com/apache/spark/pull/5710.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 #5710
    
----
commit c319977c6d6d0bb45ea84e069822de56b959d647
Author: wangfei <wa...@huawei.com>
Date:   2015-04-27T01:16:02Z

    rename apply to parse

----


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SQL][Minor] rename DataTypeParser.apply to Da...

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

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


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SQL][Minor] rename DataTypeParser.apply to Da...

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

    https://github.com/apache/spark/pull/5710#issuecomment-96494348
  
    Merging in master. Thanks!


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SQL][Minor] rename DataTypeParser.apply to Da...

Posted by scwf <gi...@git.apache.org>.
Github user scwf commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5710#discussion_r29117834
  
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning/patterns.scala ---
    @@ -92,7 +92,7 @@ object PhysicalOperation extends PredicateHelper {
         }
     
       def collectAliases(fields: Seq[Expression]): Map[Attribute, Expression] = fields.collect {
    -    case a @ Alias(child, _) => a.toAttribute.asInstanceOf[Attribute] -> child
    +    case a @ Alias(child, _) => a.toAttribute -> child
    --- End diff --
    
    this `asInstanceOf` is not necessary, also delete it here


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SQL][Minor] rename DataTypeParser.apply to Da...

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

    https://github.com/apache/spark/pull/5710#issuecomment-96492288
  
      [Test build #30960 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30960/consoleFull) for   PR 5710 at commit [`c319977`](https://github.com/apache/spark/commit/c319977c6d6d0bb45ea84e069822de56b959d647).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.
     * This patch does not change any dependencies.


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SQL][Minor] rename DataTypeParser.apply to Da...

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

    https://github.com/apache/spark/pull/5710#issuecomment-96469552
  
      [Test build #30960 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30960/consoleFull) for   PR 5710 at commit [`c319977`](https://github.com/apache/spark/commit/c319977c6d6d0bb45ea84e069822de56b959d647).


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org