Skip to content

Commit

Permalink
fix conflict in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu committed Apr 14, 2015
1 parent e74c04e commit b1fe460
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
21 changes: 19 additions & 2 deletions R/pkg/R/schema.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# A set of S3 classes and methods that support the SparkSQL `StructType` and `StructField
# datatypes. These are used to create and interact with DataFrame schemas.

Expand Down Expand Up @@ -37,7 +54,7 @@ structType.structField <- function(x, ...) {
sfObjList <- lapply(fields, function(field) {
field$jobj
})
stObj <- callJStatic("edu.berkeley.cs.amplab.sparkr.SQLUtils",
stObj <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
"createStructType",
listToSeq(sfObjList))
structType(stObj)
Expand Down Expand Up @@ -121,7 +138,7 @@ structField.character <- function(x, type, nullable = TRUE) {
} else {
stop(paste("Unsupported type for Dataframe:", type))
}
sfObj <- callJStatic("edu.berkeley.cs.amplab.sparkr.SQLUtils",
sfObj <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
"createStructField",
x,
dataType,
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ and Spark Streaming for stream processing.

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

*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.__*

## Online Documentation

Expand Down

0 comments on commit b1fe460

Please sign in to comment.