Skip to content

Commit 2c008b7

Browse files
committed
Merge remote-tracking branch 'upstream/master' into arSupport
2 parents ba48226 + b834446 commit 2c008b7

File tree

2,283 files changed

+153545
-40079
lines changed

Some content is hidden

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

2,283 files changed

+153545
-40079
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ dev/pr-deps/
4747
dist/
4848
docs/_site
4949
docs/api
50+
sql/docs
51+
sql/site
5052
lib_managed/
5153
lint-r-report.log
5254
log/
@@ -60,6 +62,8 @@ project/plugins/src_managed/
6062
project/plugins/target/
6163
python/lib/pyspark.zip
6264
python/deps
65+
python/test_coverage/coverage_data
66+
python/test_coverage/htmlcov
6367
python/pyspark/python
6468
reports/
6569
scalastyle-on-compile.generated.xml

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ notifications:
4343
# 5. Run maven install before running lint-java.
4444
install:
4545
- export MAVEN_SKIP_RC=1
46-
- build/mvn -T 4 -q -DskipTests -Pmesos -Pyarn -Pkinesis-asl -Phive -Phive-thriftserver install
46+
- build/mvn -T 4 -q -DskipTests -Pkubernetes -Pmesos -Pyarn -Pkinesis-asl -Phive -Phive-thriftserver install
4747

4848
# 6. Run lint-java.
4949
script:

LICENSE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,14 @@ The text of each license is also included at licenses/LICENSE-[project].txt.
263263
(New BSD license) Protocol Buffer Java API (org.spark-project.protobuf:protobuf-java:2.4.1-shaded - http://code.google.com/p/protobuf)
264264
(The BSD License) Fortran to Java ARPACK (net.sourceforge.f2j:arpack_combined_all:0.1 - http://f2j.sourceforge.net)
265265
(The BSD License) xmlenc Library (xmlenc:xmlenc:0.52 - http://xmlenc.sourceforge.net)
266-
(The New BSD License) Py4J (net.sf.py4j:py4j:0.10.4 - http://py4j.sourceforge.net/)
266+
(The New BSD License) Py4J (net.sf.py4j:py4j:0.10.6 - http://py4j.sourceforge.net/)
267267
(Two-clause BSD-style license) JUnit-Interface (com.novocode:junit-interface:0.10 - http://github.com/szeiger/junit-interface/)
268268
(BSD licence) sbt and sbt-launch-lib.bash
269269
(BSD 3 Clause) d3.min.js (https://github.com/mbostock/d3/blob/master/LICENSE)
270270
(BSD 3 Clause) DPark (https://github.com/douban/dpark/blob/master/LICENSE)
271271
(BSD 3 Clause) CloudPickle (https://github.com/cloudpipe/cloudpickle/blob/master/LICENSE)
272+
(BSD 2 Clause) Zstd-jni (https://github.com/luben/zstd-jni/blob/master/LICENSE)
273+
(BSD license) Zstd (https://github.com/facebook/zstd/blob/v1.3.1/LICENSE)
272274

273275
========================================================================
274276
MIT licenses

NOTICE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,12 @@ Copyright (C) 2011 Google Inc.
448448
Apache Commons Pool
449449
Copyright 1999-2009 The Apache Software Foundation
450450

451+
This product includes/uses Kubernetes & OpenShift 3 Java Client (https://github.com/fabric8io/kubernetes-client)
452+
Copyright (C) 2015 Red Hat, Inc.
453+
454+
This product includes/uses OkHttp (https://github.com/square/okhttp)
455+
Copyright (C) 2012 The Android Open Source Project
456+
451457
=========================================================================
452458
== NOTICE file corresponding to section 4(d) of the Apache License, ==
453459
== Version 2.0, in this case for the DataNucleus distribution. ==

R/install-dev.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
set -o pipefail
3030
set -e
31+
set -x
3132

3233
FWDIR="$(cd "`dirname "${BASH_SOURCE[0]}"`"; pwd)"
3334
LIB_DIR="$FWDIR/lib"

R/pkg/.lintr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
linters: with_defaults(line_length_linter(100), multiple_dots_linter = NULL, camel_case_linter = NULL, open_curly_linter(allow_single_line = TRUE), closed_curly_linter(allow_single_line = TRUE))
1+
linters: with_defaults(line_length_linter(100), multiple_dots_linter = NULL, object_name_linter = NULL, camel_case_linter = NULL, open_curly_linter(allow_single_line = TRUE), closed_curly_linter(allow_single_line = TRUE))
22
exclusions: list("inst/profile/general.R" = 1, "inst/profile/shell.R")

R/pkg/DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: SparkR
22
Type: Package
3-
Version: 2.3.0
3+
Version: 2.4.0
44
Title: R Frontend for Apache Spark
5-
Description: The SparkR package provides an R Frontend for Apache Spark.
5+
Description: Provides an R Frontend for Apache Spark.
66
Authors@R: c(person("Shivaram", "Venkataraman", role = c("aut", "cre"),
77
email = "[email protected]"),
88
person("Xiangrui", "Meng", role = "aut",
@@ -59,3 +59,4 @@ Collate:
5959
'window.R'
6060
RoxygenNote: 5.0.1
6161
VignetteBuilder: knitr
62+
NeedsCompilation: no

R/pkg/NAMESPACE

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ exportMethods("glm",
7676
export("setJobGroup",
7777
"clearJobGroup",
7878
"cancelJobGroup",
79-
"setJobDescription")
79+
"setJobDescription",
80+
"setLocalProperty",
81+
"getLocalProperty")
8082

8183
# Export Utility methods
8284
export("setLogLevel")
@@ -133,6 +135,7 @@ exportMethods("arrange",
133135
"isStreaming",
134136
"join",
135137
"limit",
138+
"localCheckpoint",
136139
"merge",
137140
"mutate",
138141
"na.omit",
@@ -169,12 +172,14 @@ exportMethods("arrange",
169172
"transform",
170173
"union",
171174
"unionAll",
175+
"unionByName",
172176
"unique",
173177
"unpersist",
174178
"where",
175179
"with",
176180
"withColumn",
177181
"withColumnRenamed",
182+
"withWatermark",
178183
"write.df",
179184
"write.jdbc",
180185
"write.json",
@@ -224,13 +229,17 @@ exportMethods("%<=>%",
224229
"crc32",
225230
"create_array",
226231
"create_map",
232+
"current_date",
233+
"current_timestamp",
227234
"hash",
228235
"cume_dist",
229236
"date_add",
230237
"date_format",
231238
"date_sub",
239+
"date_trunc",
232240
"datediff",
233241
"dayofmonth",
242+
"dayofweek",
234243
"dayofyear",
235244
"decode",
236245
"dense_rank",
@@ -286,6 +295,8 @@ exportMethods("%<=>%",
286295
"lower",
287296
"lpad",
288297
"ltrim",
298+
"map_keys",
299+
"map_values",
289300
"max",
290301
"md5",
291302
"mean",
@@ -429,6 +440,7 @@ export("structField",
429440
"structField.character",
430441
"print.structField",
431442
"structType",
443+
"structType.character",
432444
"structType.jobj",
433445
"structType.structField",
434446
"print.structType")
@@ -465,5 +477,6 @@ S3method(print, summary.GBTRegressionModel)
465477
S3method(print, summary.GBTClassificationModel)
466478
S3method(structField, character)
467479
S3method(structField, jobj)
480+
S3method(structType, character)
468481
S3method(structType, jobj)
469482
S3method(structType, structField)

0 commit comments

Comments
 (0)