spark git commit: [SPARK-14362][SPARK-14406][SQL][FOLLOW-UP] DDL Native Support: Drop View and Drop Table

2016-04-10 Thread yhuai
Repository: spark Updated Branches: refs/heads/master fbf8d0088 -> 9f838bd24 [SPARK-14362][SPARK-14406][SQL][FOLLOW-UP] DDL Native Support: Drop View and Drop Table What changes were proposed in this pull request? This PR is to address the comment: https://github.com/apache/spark/pull/1

spark git commit: [SPARK-14419] [MINOR] coding style cleanup

2016-04-10 Thread davies
Repository: spark Updated Branches: refs/heads/master a7ce473bd -> fbf8d0088 [SPARK-14419] [MINOR] coding style cleanup ## What changes were proposed in this pull request? Making them more consistent. ## How was this patch tested? Existing tests. Author: Davies Liu Closes #12289 from dav

[2/2] spark git commit: [SPARK-14415][SQL] All functions should show usages by command `DESC FUNCTION`

2016-04-10 Thread yhuai
[SPARK-14415][SQL] All functions should show usages by command `DESC FUNCTION` ## What changes were proposed in this pull request? Currently, many functions do now show usages like the followings. ``` scala> sql("desc function extended `sin`").collect().foreach(println) [Function: sin] [Class: or

[1/2] spark git commit: [SPARK-14415][SQL] All functions should show usages by command `DESC FUNCTION`

2016-04-10 Thread yhuai
Repository: spark Updated Branches: refs/heads/master b5c785629 -> a7ce473bd http://git-wip-us.apache.org/repos/asf/spark/blob/a7ce473b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala -

spark git commit: Update KMeansExample.scala

2016-04-10 Thread srowen
Repository: spark Updated Branches: refs/heads/master f4344582b -> b5c785629 Update KMeansExample.scala ## What changes were proposed in this pull request? example does not work wo DataFrame import ## How was this patch tested? example doc only example does not work wo DataFrame import Aut

spark git commit: [SPARK-14497][ML] Use top instead of sortBy() to get top N frequent words as dict in ConutVectorizer

2016-04-10 Thread meng
Repository: spark Updated Branches: refs/heads/master 22014e6fb -> f4344582b [SPARK-14497][ML] Use top instead of sortBy() to get top N frequent words as dict in ConutVectorizer ## What changes were proposed in this pull request? Replace sortBy() with top() to calculate the top N frequent wo