Skip to content

Commit cf58c49

Browse files
committed
Merge remote-tracking branch 'apache/master' into maven-tests
Conflicts: dev/run-tests-jenkins
2 parents 87d4d19 + de7209c commit cf58c49

File tree

1,035 files changed

+42473
-15729
lines changed

Some content is hidden

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

1,035 files changed

+42473
-15729
lines changed

.rat-excludes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,5 @@ INDEX
9393
.lintr
9494
gen-java.*
9595
.*avpr
96+
org.apache.spark.sql.sources.DataSourceRegister
97+
.*parquet

R/create-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pushd $FWDIR
3939
mkdir -p pkg/html
4040
pushd pkg/html
4141

42-
Rscript -e 'library(SparkR, lib.loc="../../lib"); library(knitr); knit_rd("SparkR")'
42+
Rscript -e 'libDir <- "../../lib"; library(SparkR, lib.loc=libDir); library(knitr); knit_rd("SparkR", links = tools::findHTMLlinks(paste(libDir, "SparkR", sep="/")))'
4343

4444
popd
4545

R/install-dev.bat

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,3 @@ set SPARK_HOME=%~dp0..
2525
MKDIR %SPARK_HOME%\R\lib
2626

2727
R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" %SPARK_HOME%\R\pkg\
28-
29-
rem Zip the SparkR package so that it can be distributed to worker nodes on YARN
30-
pushd %SPARK_HOME%\R\lib
31-
%JAVA_HOME%\bin\jar.exe cfM "%SPARK_HOME%\R\lib\sparkr.zip" SparkR
32-
popd

R/install-dev.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,4 @@ Rscript -e ' if("devtools" %in% rownames(installed.packages())) { library(devtoo
4242
# Install SparkR to $LIB_DIR
4343
R CMD INSTALL --library=$LIB_DIR $FWDIR/pkg/
4444

45-
# Zip the SparkR package so that it can be distributed to worker nodes on YARN
46-
cd $LIB_DIR
47-
jar cfM "$LIB_DIR/sparkr.zip" SparkR
48-
4945
popd > /dev/null

R/pkg/DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: SparkR
22
Type: Package
33
Title: R frontend for Spark
4-
Version: 1.4.0
4+
Version: 1.5.0
55
Date: 2013-09-09
66
Author: The Apache Software Foundation
77
Maintainer: Shivaram Venkataraman <[email protected]>
@@ -29,6 +29,7 @@ Collate:
2929
'client.R'
3030
'context.R'
3131
'deserialize.R'
32+
'functions.R'
3233
'mllib.R'
3334
'serialize.R'
3435
'sparkR.R'

R/pkg/NAMESPACE

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,57 +84,136 @@ exportClasses("Column")
8484

8585
exportMethods("abs",
8686
"acos",
87+
"add_months",
8788
"alias",
8889
"approxCountDistinct",
8990
"asc",
91+
"ascii",
9092
"asin",
9193
"atan",
9294
"atan2",
9395
"avg",
96+
"base64",
9497
"between",
98+
"bin",
99+
"bitwiseNOT",
95100
"cast",
96101
"cbrt",
102+
"ceil",
97103
"ceiling",
104+
"concat",
105+
"concat_ws",
98106
"contains",
107+
"conv",
99108
"cos",
100109
"cosh",
110+
"count",
101111
"countDistinct",
112+
"crc32",
113+
"date_add",
114+
"date_format",
115+
"date_sub",
116+
"datediff",
117+
"dayofmonth",
118+
"dayofyear",
102119
"desc",
103120
"endsWith",
104121
"exp",
122+
"explode",
105123
"expm1",
124+
"expr",
125+
"factorial",
126+
"first",
106127
"floor",
128+
"format_number",
129+
"format_string",
130+
"from_unixtime",
131+
"from_utc_timestamp",
107132
"getField",
108133
"getItem",
134+
"greatest",
135+
"hex",
136+
"hour",
109137
"hypot",
138+
"ifelse",
139+
"initcap",
140+
"instr",
141+
"isNaN",
110142
"isNotNull",
111143
"isNull",
112144
"last",
145+
"last_day",
146+
"least",
147+
"length",
148+
"levenshtein",
113149
"like",
150+
"lit",
151+
"locate",
114152
"log",
115153
"log10",
116154
"log1p",
155+
"log2",
117156
"lower",
157+
"lpad",
158+
"ltrim",
118159
"max",
160+
"md5",
119161
"mean",
120162
"min",
163+
"minute",
164+
"month",
165+
"months_between",
121166
"n",
122167
"n_distinct",
168+
"nanvl",
169+
"negate",
170+
"next_day",
171+
"otherwise",
172+
"pmod",
173+
"quarter",
174+
"rand",
175+
"randn",
176+
"regexp_extract",
177+
"regexp_replace",
178+
"reverse",
123179
"rint",
124180
"rlike",
181+
"round",
182+
"rpad",
183+
"rtrim",
184+
"second",
185+
"sha1",
186+
"sha2",
187+
"shiftLeft",
188+
"shiftRight",
189+
"shiftRightUnsigned",
125190
"sign",
191+
"signum",
126192
"sin",
127193
"sinh",
194+
"size",
195+
"soundex",
128196
"sqrt",
129197
"startsWith",
130198
"substr",
199+
"substring_index",
131200
"sum",
132201
"sumDistinct",
133202
"tan",
134203
"tanh",
135204
"toDegrees",
136205
"toRadians",
137-
"upper")
206+
"to_date",
207+
"to_utc_timestamp",
208+
"translate",
209+
"trim",
210+
"unbase64",
211+
"unhex",
212+
"unix_timestamp",
213+
"upper",
214+
"weekofyear",
215+
"when",
216+
"year")
138217

139218
exportClasses("GroupedData")
140219
exportMethods("agg")

0 commit comments

Comments
 (0)