Skip to content

Commit ab8e9a6

Browse files
committed
Merge pull request apache#14 from apache/master
merge lastest spark
2 parents 14952e2 + e4136ea commit ab8e9a6

File tree

693 files changed

+40431
-9406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

693 files changed

+40431
-9406
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ scalastyle.txt
6565
scalastyle-output.xml
6666
R-unit-tests.log
6767
R/unit-tests.out
68+
python/lib/pyspark.zip
6869

6970
# For Hive
7071
metastore_db/

.rat-excludes

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ graphlib-dot.min.js
3636
sorttable.js
3737
vis.min.js
3838
vis.min.css
39-
vis.map
4039
.*avsc
4140
.*txt
4241
.*json
@@ -74,5 +73,12 @@ logs
7473
.*scalastyle-output.xml
7574
.*dependency-reduced-pom.xml
7675
known_translations
76+
json_expectation
77+
local-1422981759269/*
78+
local-1422981780767/*
79+
local-1425081759269/*
80+
local-1426533911241/*
81+
local-1426633911242/*
82+
local-1430917381534/*
7783
DESCRIPTION
7884
NAMESPACE

LICENSE

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,22 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
836836
See the License for the specific language governing permissions and
837837
limitations under the License.
838838

839+
========================================================================
840+
For vis.js (core/src/main/resources/org/apache/spark/ui/static/vis.min.js):
841+
========================================================================
842+
Copyright (C) 2010-2015 Almende B.V.
843+
844+
Vis.js is dual licensed under both
845+
846+
* The Apache 2.0 License
847+
http://www.apache.org/licenses/LICENSE-2.0
848+
849+
and
850+
851+
* The MIT License
852+
http://opensource.org/licenses/MIT
853+
854+
Vis.js may be distributed under either license.
839855

840856
========================================================================
841857
BSD-style licenses
@@ -845,7 +861,7 @@ The following components are provided under a BSD-style license. See project lin
845861

846862
(BSD 3 Clause) core (com.github.fommil.netlib:core:1.1.2 - https://github.com/fommil/netlib-java/core)
847863
(BSD 3 Clause) JPMML-Model (org.jpmml:pmml-model:1.1.15 - https://github.com/jpmml/jpmml-model)
848-
(BSD 3-clause style license) jblas (org.jblas:jblas:1.2.3 - http://jblas.org/)
864+
(BSD 3-clause style license) jblas (org.jblas:jblas:1.2.4 - http://jblas.org/)
849865
(BSD License) AntLR Parser Generator (antlr:antlr:2.7.7 - http://www.antlr.org/)
850866
(BSD License) Javolution (javolution:javolution:5.5.1 - http://javolution.org)
851867
(BSD licence) ANTLR ST4 4.0.4 (org.antlr:ST4:4.0.4 - http://www.stringtemplate.org)

R/pkg/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Suggests:
1515
Description: R frontend for Spark
1616
License: Apache License (== 2.0)
1717
Collate:
18+
'schema.R'
1819
'generics.R'
1920
'jobj.R'
2021
'RDD.R'
2122
'pairRDD.R'
22-
'schema.R'
2323
'column.R'
2424
'group.R'
2525
'DataFrame.R'

R/pkg/NAMESPACE

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export("print.jobj")
99

1010
exportClasses("DataFrame")
1111

12-
exportMethods("cache",
12+
exportMethods("arrange",
13+
"cache",
1314
"collect",
1415
"columns",
1516
"count",
@@ -20,21 +21,24 @@ exportMethods("cache",
2021
"explain",
2122
"filter",
2223
"first",
24+
"group_by",
2325
"groupBy",
2426
"head",
2527
"insertInto",
2628
"intersect",
2729
"isLocal",
2830
"join",
29-
"length",
3031
"limit",
3132
"orderBy",
33+
"mutate",
3234
"names",
3335
"persist",
3436
"printSchema",
3537
"registerTempTable",
38+
"rename",
3639
"repartition",
37-
"sampleDF",
40+
"sample",
41+
"sample_frac",
3842
"saveAsParquetFile",
3943
"saveAsTable",
4044
"saveDF",
@@ -43,42 +47,68 @@ exportMethods("cache",
4347
"selectExpr",
4448
"show",
4549
"showDF",
46-
"sortDF",
50+
"summarize",
4751
"take",
4852
"unionAll",
4953
"unpersist",
5054
"where",
5155
"withColumn",
52-
"withColumnRenamed")
56+
"withColumnRenamed",
57+
"write.df")
5358

5459
exportClasses("Column")
5560

5661
exportMethods("abs",
62+
"acos",
5763
"alias",
5864
"approxCountDistinct",
5965
"asc",
66+
"asin",
67+
"atan",
68+
"atan2",
6069
"avg",
6170
"cast",
71+
"cbrt",
72+
"ceiling",
6273
"contains",
74+
"cos",
75+
"cosh",
6376
"countDistinct",
6477
"desc",
6578
"endsWith",
79+
"exp",
80+
"expm1",
81+
"floor",
6682
"getField",
6783
"getItem",
84+
"hypot",
6885
"isNotNull",
6986
"isNull",
7087
"last",
7188
"like",
89+
"log",
90+
"log10",
91+
"log1p",
7292
"lower",
7393
"max",
7494
"mean",
7595
"min",
96+
"n",
97+
"n_distinct",
98+
"rint",
7699
"rlike",
100+
"sign",
101+
"sin",
102+
"sinh",
77103
"sqrt",
78104
"startsWith",
79105
"substr",
80106
"sum",
81107
"sumDistinct",
108+
"tan",
109+
"tanh",
110+
"toDegrees",
111+
"toRadians",
82112
"upper")
83113

84114
exportClasses("GroupedData")
@@ -95,15 +125,13 @@ export("cacheTable",
95125
"jsonFile",
96126
"loadDF",
97127
"parquetFile",
128+
"read.df",
98129
"sql",
99130
"table",
100131
"tableNames",
101132
"tables",
102133
"uncacheTable")
103134

104-
export("sparkRSQL.init",
105-
"sparkRHive.init")
106-
107135
export("structField",
108136
"structField.jobj",
109137
"structField.character",

0 commit comments

Comments
 (0)