You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sa...@apache.org on 2016/04/09 15:31:00 UTC

spark git commit: [SPARK-14496][SQL] fix some javadoc typos

Repository: spark
Updated Branches:
  refs/heads/master a9b8b655b -> 10a95781e


[SPARK-14496][SQL] fix some javadoc typos

## What changes were proposed in this pull request?

Minor issues. Found 2 typos while browsing the code.

## How was this patch tested?
None.

Author: bomeng <bm...@us.ibm.com>

Closes #12264 from bomeng/SPARK-14496.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/10a95781
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/10a95781
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/10a95781

Branch: refs/heads/master
Commit: 10a95781ee8685d1473b156715b905c83af2aab0
Parents: a9b8b65
Author: bomeng <bm...@us.ibm.com>
Authored: Sat Apr 9 22:30:54 2016 +0900
Committer: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Committed: Sat Apr 9 22:30:54 2016 +0900

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/catalyst/util/StringUtils.scala     | 2 +-
 .../main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/10a95781/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/StringUtils.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/StringUtils.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/StringUtils.scala
index 0f65028..cde8bd5 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/StringUtils.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/StringUtils.scala
@@ -57,7 +57,7 @@ object StringUtils {
    * This utility can be used for filtering pattern in the "Like" of "Show Tables / Functions" DDL
    * @param names the names list to be filtered
    * @param pattern the filter pattern, only '*' and '|' are allowed as wildcards, others will
-   *                follows regular expression convention, case insensitive match and white spaces
+   *                follow regular expression convention, case insensitive match and white spaces
    *                on both ends will be ignored
    * @return the filtered names list in order
    */

http://git-wip-us.apache.org/repos/asf/spark/blob/10a95781/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala
index 3de8aa0..bf21c9d 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala
@@ -475,7 +475,7 @@ class SparkSqlAstBuilder extends AstBuilder {
    *   ALTER VIEW view ADD [IF NOT EXISTS] PARTITION spec
    * }}}
    *
-   * ALTER VIEW ... DROP PARTITION ... is not supported because the concept of partitioning
+   * ALTER VIEW ... ADD PARTITION ... is not supported because the concept of partitioning
    * is associated with physical tables
    */
   override def visitAddTablePartition(


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