Skip to content

Commit b1fe460

Browse files
author
Davies Liu
committed
fix conflict in README.md
1 parent e74c04e commit b1fe460

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

R/pkg/R/schema.R

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
# A set of S3 classes and methods that support the SparkSQL `StructType` and `StructField
219
# datatypes. These are used to create and interact with DataFrame schemas.
320

@@ -37,7 +54,7 @@ structType.structField <- function(x, ...) {
3754
sfObjList <- lapply(fields, function(field) {
3855
field$jobj
3956
})
40-
stObj <- callJStatic("edu.berkeley.cs.amplab.sparkr.SQLUtils",
57+
stObj <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
4158
"createStructType",
4259
listToSeq(sfObjList))
4360
structType(stObj)
@@ -121,7 +138,7 @@ structField.character <- function(x, type, nullable = TRUE) {
121138
} else {
122139
stop(paste("Unsupported type for Dataframe:", type))
123140
}
124-
sfObj <- callJStatic("edu.berkeley.cs.amplab.sparkr.SQLUtils",
141+
sfObj <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
125142
"createStructField",
126143
x,
127144
dataType,

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ and Spark Streaming for stream processing.
99

1010
<http://spark.apache.org/>
1111

12-
*NOTE: As of April 2015, SparkR has been [merged](https://github.com/apache/spark/pull/5096) into Apache Spark and is shipping in an upcoming release (1.4) due early summer 2015. This repo currently targets users using released versions of Spark. __This repo no longer accepts new pull requests, and they should now be submitted to [apache/spark](https://github.com/apache/spark); see [here](https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark) for some instructions.__*
1312

1413
## Online Documentation
1514

0 commit comments

Comments
 (0)